LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I increase line width on polar plot?

The lines plotted on a LabVIEW 6 polar plot (picture control) are very thin and do not show up well when printed. I would like to increase the line thickness (as can be done easily on the graph controls), but looking through the polar plot VIs, I cannot find any obvious way of doing this.
0 Kudos
Message 1 of 6
(4,759 Views)
The polar plots basically use the picture control to draw the lines on a plot. To increase the thickness of the lines you would have to draw another line right next to the line. I'm sure this could be done, but would require alot of messing about with the drawing subVI's to draw all lines in duplicate.

Alternatively you could plot the graph twice, but the second plot has an origin 1 pixel out. This will double the thickness on the screen, but i dont know what it will print out like. See attached example in LV 6.0.

Another thing to try is change the plot colours. You can make the gridlines black (instead of grey), and paint the background white. This makes the lines show up much better. I will also include this in the same example.

I hop
e this helps you..

Kim
0 Kudos
Message 2 of 6
(4,759 Views)
Thanks for the ideas. I guess I was hoping there was something that could be tweaked in the picture control structure itself, but no such luck apparently.

I will probably do the duplicate line drawing business down at the Plot Polar Data.vi level to avoid making the grid itself thicker.
0 Kudos
Message 3 of 6
(4,759 Views)
Take a look at G Toolbox:

http://gtoolbox.yeah.net


aka47 wrote:
> The lines plotted on a LabVIEW 6 polar plot (picture control) are very
> thin and do not show up well when printed. I would like to increase
> the line thickness (as can be done easily on the graph controls), but
> looking through the polar plot VIs, I cannot find any obvious way of
> doing this.
0 Kudos
Message 4 of 6
(4,759 Views)
Thanks for getting back to me concerning your plot. From your initial post i wasn't sure what lines you wanted thicker, so i assumed you wanted them all thicker. But now i know exactly what you want i have changed my example a little to show how to only create a thicker line for the data.

The way i have achieved this is by making the grid colour transparent for the second plotting of the graph. This way the gridlines do not appear thicker, but the data line does.

I hope this more of what you wanted..

Kim
0 Kudos
Message 5 of 6
(4,759 Views)
If you "tunnel down" through all the sub-vi's in the polar or Smith chart, you will eventually come to a node called Set Pen. There is a "size" numerical constant concatenated to the picture function. Adjust that number, and you will have a different "font" size for the point. YOu will have to rename the subvi to actully work with it.
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 6 of 6
(4,759 Views)