LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the thickness of a point in a graph ?

I use CVI 5.5 under Windows 2000.
I use the function Plotpoint in a loop to display several (>1000) points in a graph. I would like to let the user enter the size of the point before drawing. The ATTR_PLOT_THICKNESS seems to work only for lines.
I can't use canvas since I need 5 cursors.

Any help ?

thanks

ArnO
0 Kudos
Message 1 of 2
(3,073 Views)
You can't do it with PlotPoint. Your best alternative is to use PlotBitmap and pass it very simple bitmaps of varying size. You can easily create these bitmaps programmatically using the NewBitmap function.

Since you won't have a bitmap on file to pass to the PlotBitmap function, you need to call it passing NULL as the File_Name parameter, and then call SetCtrlBitmap in order to associate your bitmaps with the plot id.

Luis Gomes
NI
Message 2 of 2
(3,073 Views)