LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Line Width on Graph

Hi
I have a Graph Control to plot some lines using PlotLine and Plot Arc i want to change the line width of ALL the plots BEFORE ploting them..
I mean that i want every line i'm plotting on the graph to have a certain line width.. How can i do that..?

Thanks
0 Kudos
Message 1 of 4
(3,279 Views)

Check out ATTR_PLOT_THICKNESS.

 

JR

Message Edited by jr_2005 on 09-01-2008 11:24 AM
0 Kudos
Message 2 of 4
(3,264 Views)
Yes i've already saw this attribute but in order to use it i must have the plot handle returned (for example) from PlotLine()..
that means, if i understand, that i must plot the line and then change it's width..
i plot thousands of small lines on my graph though and i just want every line i plot to have a specific width..
isn't there a way to to do that for all the lines before i draw them and not after..?
0 Kudos
Message 3 of 4
(3,256 Views)

Hi Karpa,

 

You can disable the ATTR_REFRESH_GRAPH attribute, which will prevent new plots from being drawn. Then, after plotting and then changing the width, you can re-enable ATTR_REFRESH_GRAPH, which should cause the plots to be drawn using the new width.

 

Luis

0 Kudos
Message 4 of 4
(3,229 Views)