LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot filled multiple lines with different colour using Picture control ?

I want to plot multiple lines filled using Picture Control. My question is how to plot multiple lines filled with a colour and the lines with black?
For example, I can plot a triangle giving the XY coordinates of the 3 points and then using DRAW MULTIPLE LINES.VI. This function plots the triangle FILLED with the specified colour. But I want to keep the borders as black lines.
Any clues ?

Ricardo
0 Kudos
Message 1 of 3
(3,002 Views)
Draw two triangles. The first filled with red. The second not filled and with black lines. Overlay them exactly on top of each other and you'll get what you want.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(3,002 Views)
> I want to plot multiple lines filled using Picture Control. My
> question is how to plot multiple lines filled with a colour and the
> lines with black?
> For example, I can plot a triangle giving the XY coordinates of the 3
> points and then using DRAW MULTIPLE LINES.VI. This function plots the
> triangle FILLED with the specified colour. But I want to keep the
> borders as black lines.

First fill it with your color, then outline it with black. Both
operations are done with the same function via a Boolean selector. So,
take your points and call the polygon once to fill with the fill color,
then call again with the input set to outline passing the same points
and a color of black.

Greg McKaskle
0 Kudos
Message 3 of 3
(3,002 Views)