LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the thickness of a line in a Picture object?

I want to change the thickness of the line in a Polar Plot. I can easy change the color but not the thickness of the line displaying the data. I have seen that the 'polar Plot' function use the 'Draw Line' function of the 'Picture Functions'. Do you have a solution? Thanks in advance.
0 Kudos
Message 1 of 3
(2,899 Views)
Hi Jean-Michel,

If you dig down a few levels from the top-level Polar Plot VI, you will find vi.lib\picture\polarplt.llb\Plot Polar Data.vi. Inside this VI is a VI called "Draw Multiple Lines.vi", which has a "pen" input. This input is currently not wired, so it defaults to a line style of "Solid", and a width of "1". If you take this input and propogate it all the way up to the top-level Polar Plot VI, you can now specify the line width and style of your polar plot.

I have submitted this as a suggestion, so perhaps we will see it in a future version of LabVIEW.

-D
0 Kudos
Message 2 of 3
(2,899 Views)
LV7.0 version of Draw Line has the line width as an input. In LV6.1 you must edit this VI because the creator decided to code the width as a constant. This constant could be changed to a control and added to the connector pane. Then you could use your custom version of Draw Line to modify the version of the Polar Plot VI
0 Kudos
Message 3 of 3
(2,899 Views)