LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the point size in a plot.

I want to set the point size in an XY plot to be proportional to the amplitude. So, when the amplitude is small, the point on the plot should be small and when the amplitude is large, the point on the plot should be large
0 Kudos
Message 1 of 3
(4,530 Views)
The point size is a function of the point style and line width - right click on the plot legend to see what there is available. The difficulty is that the settings apply to all points in a plot. So what you would have to do, is to separate your single plot into multiple ones based on amplitude ranges and feed a cluster array to the XY graph. There may also be a way to do want you want with the picture plots. Picture plots give a lot more flexibility in setting the sizes of points drawn but I think you'll still have to have a multi-plot graph.
0 Kudos
Message 2 of 3
(4,530 Views)
> I want to set the point size in an XY plot to be proportional to the
> amplitude. So, when the amplitude is small, the point on the plot
> should be small and when the amplitude is large, the point on the plot
> should be large

The other post points out that the point size applies to all points in a
plot, and it has only a few possible sizes.

The better solution is probably to look at the picture example for XY
graphs. You can then open up the diagram and look at the source code
for it. You will find a loop that draws for each point. You might also
want to look at the scatter plot example.

Greg McKaskle
0 Kudos
Message 3 of 3
(4,530 Views)