LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make beautiful intensity graph/chart?

I have one question for plotting the intensity graph using labview. I have ten bins
particle data (as attached, the first row is particle size which is y and the x is time, and the z is the particle concentration). I try to plot a intensity graph, but I got a very ugly picture. I use the property node but still don't get a good one. I want to know if the data is sufficient to make a nice plot and how to make it? Thank you very much.
0 Kudos
Message 1 of 8
(8,712 Views)


jzhao wrote:
 I use the property node but still don't get a good one.
I have no idea what that means! What kind of property??? What did you wire to it????
 
An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
 
Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
 
Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly. 😄
 


Message Edited by altenbach on 06-28-2008 01:32 AM
Message 2 of 8
(8,693 Views)


jzhao wrote:
I try to plot a intensity graph, but I got a very ugly picture. I use the property node but still don't get a good one. I want to know if the data is sufficient to make a nice plot and how to make it?
I'm confused...
 
Are you trying to plot your data to an intensity graph and hoping that a pretty picture will be displayed?   The intensity chart will display whatever the data is. It has nothing to do with esthetics. 
or
Are you trying te tell us that the graph does not resemble what you are expecting from the data and you want to find out if the data got corrupted or lost somehow before being plotted?
or
(and I've seen this before)
Are you trying to do an intentisy plot from data of a scanned image, where the intensity graph resembles the original image?
 
I could go on and on with lots more querstions...  The easiest thing is to ask you to provide more details about what you are trying to do.
 
RayR
0 Kudos
Message 3 of 8
(8,677 Views)
Thanks,altenbach. What I mean beautiful picture is something like this:(not include the top line). Anyway, could you put your vi in the post, I use labview7.1, thank you.
 


altenbach wrote:


jzhao wrote:
 I use the property node but still don't get a good one.
I have no idea what that means! What kind of property??? What did you wire to it????
 
An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
 
Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
 
Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly. 😄
 


Message Edited by altenbach on 06-28-2008 01:32 AM




altenbach wrote:


jzhao wrote:
 I use the property node but still don't get a good one.
I have no idea what that means! What kind of property??? What did you wire to it????
 
An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
 
Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
 
Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly. 😄
 


Message Edited by altenbach on 06-28-2008 01:32 AM




altenbach wrote:


jzhao wrote:
 I use the property node but still don't get a good one.
I have no idea what that means! What kind of property??? What did you wire to it????
 
An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
 
Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
 
Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly. 😄
 


Message Edited by altenbach on 06-28-2008 01:32 AM


0 Kudos
Message 4 of 8
(8,660 Views)
Sorry, I don't mean to repeatly post the same image.
0 Kudos
Message 5 of 8
(8,658 Views)
If you are fast enough, you can edit your post and delete the extra stuff.
 
Sorry, you need to attach your image. Right now the image link you included points to your HD and is not accessible to any of us. We cannot see it.


Message Edited by altenbach on 06-28-2008 12:08 PM
0 Kudos
Message 6 of 8
(8,654 Views)
I attached the image in the previous post. Attach again in this one. Thank you.
 
 
 
0 Kudos
Message 7 of 8
(8,648 Views)
OK, you just need to set the y axis to lograrithmic mapping and assign the level colors as desired.
0 Kudos
Message 8 of 8
(8,639 Views)