473,657 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to make a digital graph in C#?

Im trying to make a graph display that will show as an oscilloscope shows
with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data
chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of thing
either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use
but how?

mtia
Nov 16 '05 #1
5 8325
I would suggest you consider SVG (Scalable Vector Graphics) [1].

--
<%= Clinton Gallagher
METROmilwaukee "Regional Information Services"
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.w3c.org/

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:oJ7wd.8192 $xa6.5700@trndd c09...
Im trying to make a graph display that will show as an oscilloscope shows
with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data
chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of thing either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use
but how?

mtia

Nov 16 '05 #2

Wow, thanks for the link. SVG is awesome! It gives me hope.

So from the w3c and the svg.org websites, it appears to be a powerful
language spec. At present Im reading page after page, but nothing on how to
download something to get started.

I found a Microsoft graph sample
http://download.microsoft.com/downlo...graphfiles.exe

For some reason, there is no such thing as "FileSystemWatc herBetter.cs" so
you need to remove this from the assembly in solutions explorer; And the
breakpoint being on is a minor gotcha; but it makes the shapes Im looking
for. Now I want to change the attributes on the background and color, add a
grid or graticule

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:u9******** ******@TK2MSFTN GP12.phx.gbl...
I would suggest you consider SVG (Scalable Vector Graphics) [1].

--
<%= Clinton Gallagher
METROmilwaukee "Regional Information Services"
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.w3c.org/

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:oJ7wd.8192 $xa6.5700@trndd c09...
Im trying to make a graph display that will show as an oscilloscope shows with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of

thing
either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use but how?

mtia


Nov 16 '05 #3
There are quite a few graph articles on codeproject. SVG is slow if you are
trying to animate in real time.

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:oJ7wd.8192 $xa6.5700@trndd c09...
Im trying to make a graph display that will show as an oscilloscope shows
with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data
chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of
thing
either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use
but how?

mtia

Nov 16 '05 #4
Check out VG.net for sure as it looks promising but also go to adobe.com and
get their SVG control and view their SVG samples. Performance claims aside,
SVG is on the standards track. You'll also want to Google: "microsoft xaml"

--
<%= Clinton Gallagher
METROmilwaukee "Regional Information Services"
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:GT8wd.8298 $DV3.7323@trndd c06...

Wow, thanks for the link. SVG is awesome! It gives me hope.

So from the w3c and the svg.org websites, it appears to be a powerful
language spec. At present Im reading page after page, but nothing on how to download something to get started.

I found a Microsoft graph sample
http://download.microsoft.com/downlo...graphfiles.exe
For some reason, there is no such thing as "FileSystemWatc herBetter.cs" so you need to remove this from the assembly in solutions explorer; And the
breakpoint being on is a minor gotcha; but it makes the shapes Im looking for. Now I want to change the attributes on the background and color, add a grid or graticule

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:u9******** ******@TK2MSFTN GP12.phx.gbl...
I would suggest you consider SVG (Scalable Vector Graphics) [1].

--
<%= Clinton Gallagher
METROmilwaukee "Regional Information Services"
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.w3c.org/

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:oJ7wd.8192 $xa6.5700@trndd c09...
Im trying to make a graph display that will show as an oscilloscope shows with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of

thing
either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use but how?

mtia



Nov 16 '05 #5
Hey thanks, everyone for all those links, XAML? wow, this VG stuff is too
cool
"Frank Hileman" <fr******@no.sp amming.prodiges oftware.com> wrote in message
news:O2******** ******@TK2MSFTN GP14.phx.gbl...
There are quite a few graph articles on codeproject. SVG is slow if you are trying to animate in real time.

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

"Bradley123 4" <so*****@yahoo. com> wrote in message
news:oJ7wd.8192 $xa6.5700@trndd c09...
Im trying to make a graph display that will show as an oscilloscope shows with the wavy lines?

Are there methods or simple ways to convert say, byte wide or 16 bit data chunks into such a graphic readout?

National Instruments and Matlab use such displays, but is that kind of
thing
either public domain or simple to write?

Ive got a trial version of LabWindows that might have an Ax or dll? to use but how?

mtia


Nov 16 '05 #6

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

Similar topics

9
2893
by: Lilith | last post by:
Is there a python module somewhere (been searching today, no luck) which has efficiently coded various graph-handling routines, such as finding the shortest path through a graph, or the set of all paths through a graph? I'm not a compsci-educated person, so coding my own would be less parsimonious. Thanks for any suggestions! D
25
3778
by: Magnus Lie Hetland | last post by:
Is there any interest in a (hypothetical) standard graph API (with 'graph' meaning a network, consisting of nodes and edges)? Yes, we have the standard ways of implementing graphs through (e.g.) dicts mapping nodes to neighbor-sets, but if one wants a graph that's implemented in some other way, this may not be the most convenient (or abstract) interface to emulate. It might be nice to have the kind of polymorphic freedom that one has with,...
5
16988
by: JackS | last post by:
I am trying to use GDI32 bitblt to write a bitmap to a control's window, but all I get is an empty rectangle of some rop-dependent color. In short, I use the following logic in a paint event handler: dstGr = args.graphics; srcGr = Graphics.FromImage( bitmap ); dstHdc = dstGr.GetHdc(); srcHdc = srcGr.GetHdc(); BitBlt( dstHdc, x, y, width, height, srcHdc, 0, 0, rop ); What am I doing wrong? A complete demo program follows.
0
5806
by: Syazwin | last post by:
Hye everyone! :) i am really a new learner in vb.net. not so expert about what i am searching now.. actually i am looking for the way/source code how to make a line graph in vb.net. the system will display a graph after user enter the coordinates.beside will display the maximum and minimum point/coordinate + the graph can be save as a picture for reference in the future.i have search but not really understand to use the coding with the...
0
2348
by: mylog | last post by:
I have downloaded a GLEE(Graph Layout Execution Engine) and written the following code to display a windows form from a web page but i am encountering with a small problem on displaying the graph into the display and I am getting the following error when I run the web page.Can anybody solve this problem. I would be very grateful. Thanks Error: System.InvalidOperationException: Showing a modal dialog box or form when the application is not...
2
4128
by: sriniwas | last post by:
Hi Frnd's, m using prefuse visulation,it's have one display class and this class have one saveImage(outPutStream, String jpg,double size);. now graph is converting ia jpg image properly.now my problem is tht,If graph is to large if it going out of screen thn ,i m getting jpg image on screen disply graph,m not getting the image of tht graph which going out of screen. this is my code This is my code
4
2546
by: Man4ish | last post by:
namespace ve/////////////////ve.h { struct VertexProperties { std::size_t index; boost::default_color_type color; }; } /////////////////////////////////////////////////////////////////////////////////////////////////// namespace ed///////////////////////ed.h
2
2307
by: Man4ish | last post by:
I have created Graph object without vertex and edge property.It is working fine. #include <boost/config.hpp> #include <iostream> #include <vector> #include <string> #include <boost/graph/adjacency_list.hpp> #include <boost/tuple/tuple.hpp> #include <set> using namespace std;
0
3472
by: eureka2050 | last post by:
Hi all, I am creating a radar chart containing 2 plots using jpgraph. My code is as follows:- include ("./jpgraph/src/jpgraph.php"); include ("./jpgraph/src/jpgraph_radar.php"); // Create the basic radar graph $graph = new RadarGraph(700,500,"auto");
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.