473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Display 2D Lines for mathematic application

Hi There,
Does anyone can give me advices to choose a graphical
library/control/ocx/other to developp an application displaying 2d
lines from large data set (around 30 000 points).
I have to developp this app using Visual C++(6 or .NET). These data
are coming
right from an electronic device, and I need to display and print
result as graphs in a short amount of time (less than 8 hours :o) )
Of course, it's a common subject, but I'm not aware of last
improvement about graphical resources, so I'm stumped !!
I'm reading doc about GDI, but it seems to be too slow for this kind
of
datasize.
I'm thinking about using library from LabViews or Matlab, but perhaps
it's like using
atomic bomb vs a mosquito :o)

Thanks for any advice
Gill
Nov 17 '05 #1
5 1158
The fastest display stuff around if you want to do it yourself is DirectX,
which is typically used commercially for games. I would imagine any 3rd
party libraries you use would need licensing, so if you're on a budget, and
don't think GDI (or GDI+) is going to be fast enough, then DirectX is a good
choice. GDI+ (the successor to GDI) is far easier to use, though GDI has the
advantage of hardware acceleration. You can probably knock something up
really quickly in GDI+ either using .NET or vanilla C++, and see if that's
going to be fast enough. If it's not, look at something else. You might be
surprised at GDI though - 30,000 points isn't a massive number.

That's my two, good luck with it!

Oh, and you might want to post this on the framework.drawing newsgroup -
there'll be people there who will be able to tell you what kind of speeds to
expect.

Steve

"Gill" <go*********@yahoo.com> wrote in message
news:f9**************************@posting.google.c om...
Hi There,
Does anyone can give me advices to choose a graphical
library/control/ocx/other to developp an application displaying 2d
lines from large data set (around 30 000 points).
I have to developp this app using Visual C++(6 or .NET). These data
are coming
right from an electronic device, and I need to display and print
result as graphs in a short amount of time (less than 8 hours :o) )
Of course, it's a common subject, but I'm not aware of last
improvement about graphical resources, so I'm stumped !!
I'm reading doc about GDI, but it seems to be too slow for this kind
of
datasize.
I'm thinking about using library from LabViews or Matlab, but perhaps
it's like using
atomic bomb vs a mosquito :o)

Thanks for any advice
Gill

Nov 17 '05 #2
I've created a Galaxy Creation Program that has 150,000 Stars. To draw them all (If I'm storing them in a class) takes about 15 seconds (1.6 Ghz Pentium, 64 Meg Vid Card, 512 Megs of RAM). If I don't store them in a class (IE, generate the point and draw it immediatly), it takes about 9 seconds. Most of the time is spent translating the points from "Map" points to "Screen" points, which you'll probably need to do.

If you need any help, write me at Fireangel__NO__SPAM__@__NO__SPAM__comcast.net (I HATE spam)

GE

"Steve McLellan" wrote:
The fastest display stuff around if you want to do it yourself is DirectX,
which is typically used commercially for games. I would imagine any 3rd
party libraries you use would need licensing, so if you're on a budget, and
don't think GDI (or GDI+) is going to be fast enough, then DirectX is a good
choice. GDI+ (the successor to GDI) is far easier to use, though GDI has the
advantage of hardware acceleration. You can probably knock something up
really quickly in GDI+ either using .NET or vanilla C++, and see if that's
going to be fast enough. If it's not, look at something else. You might be
surprised at GDI though - 30,000 points isn't a massive number.

That's my two, good luck with it!

Oh, and you might want to post this on the framework.drawing newsgroup -
there'll be people there who will be able to tell you what kind of speeds to
expect.

Steve

"Gill" <go*********@yahoo.com> wrote in message
news:f9**************************@posting.google.c om...
Hi There,
Does anyone can give me advices to choose a graphical
library/control/ocx/other to developp an application displaying 2d
lines from large data set (around 30 000 points).
I have to developp this app using Visual C++(6 or .NET). These data
are coming
right from an electronic device, and I need to display and print
result as graphs in a short amount of time (less than 8 hours :o) )
Of course, it's a common subject, but I'm not aware of last
improvement about graphical resources, so I'm stumped !!
I'm reading doc about GDI, but it seems to be too slow for this kind
of
datasize.
I'm thinking about using library from LabViews or Matlab, but perhaps
it's like using
atomic bomb vs a mosquito :o)

Thanks for any advice
Gill


Nov 17 '05 #3
Hi there,
I've created a Galaxy Creation Program that has 150,000 Stars. To draw them all (If I'm storing them in a class) takes about 15 seconds
(1.6 Ghz Pentium, 64 Meg Vid Card, 512 Megs of RAM). If I don't store
them in a class (IE, generate the point and draw it immediatly), it
takes about 9 seconds. Most of the time is spent translating the
points from "Map" points to "Screen" points, which you'll probably
need to do.
If you need any help, write me at Fireangel__NO__SPAM__@__NO__SPAM__comcast.net (I HATE spam)


OK, FireAngel ..thanks for your help. Could you give me some precision
on the technology you used ?? GDI+/ActiveX ??
Nov 17 '05 #4
Hi,
The fastest display stuff around if you want to do it yourself is DirectX,
which is typically used commercially for games. I would imagine any 3rd
party libraries you use would need licensing, so if you're on a budget, and
don't think GDI (or GDI+) is going to be fast enough, then DirectX is a good
choice. GDI+ (the successor to GDI) is far easier to use, though GDI has the
advantage of hardware acceleration. You can probably knock something up
really quickly in GDI+ either using .NET or vanilla C++, and see if that's
going to be fast enough. If it's not, look at something else. You might be
surprised at GDI though - 30,000 points isn't a massive number.

That's my two, good luck with it!
thx for both of them.
So I will investigate both of them for some ploting and graphic samples ...

Oh, and you might want to post this on the framework.drawing newsgroup -
there'll be people there who will be able to tell you what kind of speeds to
expect.


Yes, good idea Steve.

Thanks
Gill
Nov 17 '05 #5
go*********@yahoo.com (Gill) wrote in message news:<f9**************************@posting.google. com>...
Hi There,
Does anyone can give me advices to choose a graphical
library/control/ocx/other to developp an application displaying 2d
lines from large data set (around 30 000 points).
I have to developp this app using Visual C++(6 or .NET). These data
are coming
right from an electronic device, and I need to display and print
result as graphs in a short amount of time (less than 8 hours :o) )
Of course, it's a common subject, but I'm not aware of last
improvement about graphical resources, so I'm stumped !!
I'm reading doc about GDI, but it seems to be too slow for this kind
of
datasize.
I'm thinking about using library from LabViews or Matlab, but perhaps
it's like using
atomic bomb vs a mosquito :o)

Thanks for any advice
Gill

Take a look at our MetaDraw control.
MetaDraw is a drawing / image creation tool
available as either an OCX or a .NET Winforms component
( the OCX is faster )
30,000 points is no trouble at all. We can build up such
an image in under 2 seconds with no problem at all..

You have full control over colors, line styles, line thickness
and you can scroll, zoom, save, print or copy the image to
the clipboard.

If for some reason the different lines will represent different types
of data you can even assign lines to categories and hide and
then use that to hide or show different categories or change
the colors dynamically.

MetaDraw is EASY to use.

-----

Jeff Bennett
Je**@Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: kimimaro | last post by:
How do you limits employee display where you enter the department for all the employee within that department be displayed and if lets say they are 100 or so and you have to limits 10 employee per...
3
by: Marauderz | last post by:
Hello guys, got a little question regarding the regional language settings . Anyway I got a Windows 2003 Server machine that was installed with the date format "dd/MM/yyyy" and location still...
9
by: Jack | last post by:
To whom may concern: In Asp.Net Calender control, how to display 5 lines if there are only 5 lines in one month? Now there are 6 lines even that I don't show the data in other months. ...
13
by: Ennio-Sr | last post by:
Hi all! After a very long struggle I finally succeded in transferring my old *.dbf file and the relating *.dbt (alias memo fields) to a pg table. For the time being I put the memo field in a...
1
by: thuyptt | last post by:
Hi you!! I am programming a part of my application and I met a trouble in display test. I used fgets to read each line in a text file and display all lines on the screen. But the size of the...
4
by: Mike L | last post by:
Error occurs on "System.Deployment.Application.ApplicationDeployment.CurrentDeployment" ** Here is my code private void frmMain_Load(object sender, System.EventArgs e) {...
1
by: george.miscalencu | last post by:
I'm trying to display a text from a database, text that contains Romanian diacritics (aîst) in a aspx page. The text has been inserted in the database using a asp application with a HTML editor...
3
by: phil67b | last post by:
Hello everybody, I have a page rech.php where I'm doing a multi-criteria research Ex. choose your car model, choose your country. After validation of my form, on the same page, the lines will be...
7
by: vinay2110 | last post by:
i m new to .net programing and dont know how to apply mathematic calculation on the text box. i has the idea to do this thing using auto post back but i dont know what is the exact syntax which will...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.