473,320 Members | 1,936 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.

Plotting contour graphs in C/C++

Hello everybody,
I'm new here and I'm also quite new to programming but I need your advice on the subject of plotting my C outputs. In Matlab, there is a plotting function "contour". It has a great advantage. You give it a data matrix (each cell has one dedicated number)and it draws contour curves "between the cells" and makes nice smooth curves. I need it for plotting of error distribution in multilateration.

Do you have tips for the best library or external utility that could do it? (mainly MS Windows)

Thanks in advance for your response :)

Petr
Jan 1 '12 #1
5 4778
lspxy
12
you could get the subject of the function "contour" in matlab.

then, modify it.
Jan 2 '12 #2
I'm not very experienced with graphic functions. Are there also other posibilities? I mean something like using some freeware utilities?
Jan 8 '12 #3
donbock
2,426 Expert 2GB
I'm a little confused. Is this contour being computed by a C or Matlab program?

Assuming you are using a C program to compute the coordinates of the contour ... you have a basic decision to make: either add graph-drawing capability to your program or export your data to a program you already have that is already good at drawing graphs. Have you considered emitting a comma-separated-values (CSV) file and then opening that file with Excel? Does Matlab import data?
Jan 10 '12 #4
I'm writing in C. I need to draw that data. Graph-drawing capability would be great but you've inspired me to use .csv as a "first" step. Just one question. Is there anything like contour in Excel?
Jan 10 '12 #5
donbock
2,426 Expert 2GB
Excel help tells me that my version (Excel 2010) supports 4 kinds of Surface Charts: 3-D surface, Wireframe 3-D surface, Contour, and Wireframe contour. Your version may vary. I don't know if any of these look like contour plots in Matlab.
Jan 10 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Mark Fenbers | last post by:
I am investigating Python for the sake of ultimately generating hydrographs (such as this: http://ahps.erh.noaa.gov/iln/ahps/RiverDat/gifs/prgo1.png) on-the-fly from a web server cluster. I have...
9
by: rhmd | last post by:
I need to create image files (eg bmp or jpeg) of xy scatter graphs (i.e., graphs in which markers denote individual points; the markers need to be small polygons of various sizes, shapes, colors,...
22
by: MJR | last post by:
Hi, just wondering what options I would have if I wanted to use Python to produce real-time graphs. Is there any plotting package suitable for this. Thanks, Mike
1
by: Florian Lindner | last post by:
Hello, I'm looking for libraries to create graphs. I'm not talking about plotting a function like f(x)=x^2 just plotting a couple of values into a short, maybe interpolating them. Output should be...
1
by: wayne | last post by:
i want to plot a line graph. The values that I obtain are the RGB value of a TIFF image. i m plotting RGB values vs value(1,2,3..) so when generated the RGB values, there will b a column of values...
7
by: diffuser78 | last post by:
My python program spits lot of data. I take that data and plot graphs using OfficeOrg spredsheet. I want to automate this task as this takes so much of time. I have some questions. 1. Which is...
1
by: Suresh Bansal | last post by:
Hi all using MSCHART object in VB.NET requires to register at client node for plotting graphs in VB 2005. Using Drawing namespace of Framework 2.0 provides rich functionality for plotting but...
2
by: Grant Edwards | last post by:
I downloaded examples/contour_demo.py, and it doesn't run. I've searched both the user guide and the Wiki for "contour" and got zero hits. ...
1
by: T. Crane | last post by:
Hi, I am looking for a good plotting library. I intend to do 3D surface plots, 2D contour, 3D waterfall, etc. Right now I have access to National Instruments' Measurement Studio, and it's...
0
by: Helmut Michels | last post by:
Dear C/C++ programmers, I am pleased to announce version 9.4 of the data plotting software DISLIN. DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
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...
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

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.