08-26-2008 08:01 AM
Hi i have made a VI that shows a curve on a line, i have also made a vi that outputs a mpeg video of the graph panning through all of its values, what i was wondering was if it was possible to fill in the area within a curve? I've managed to set the line colour, but i am unable to find anywhere that lets you set area colour.
Many thanks.
John P.
VI attatched, bits cluttered, but the polar plot is clearly visable at the center.
08-27-2008 03:21 AM
Hi john,
Can you attach your vi for lv 8.0?
08-27-2008 04:53 AM
08-27-2008 05:02 AM
08-27-2008 07:23 AM
Hi yeah its the polar plot i'm trying to fill under, it seems more difficult to track down in labview than filling an xy or 3d graph.
I'll put up the llb file tomorrow, sorry about that i forgot about the sub VIs were in there. - im not in work today sorry.
Thank you for the pointers so far.
John P.
08-27-2008 09:02 AM
Open the polar plot demo file. Go to the block diagram and open the Polar Plot.vi. Then open the Polar Plot Data.vi from the block diagram. Inside this vi is a Draw Multiple lines.vi that has a Fill option that is defaulted to False. Change this constant to True and you can fill the polar plot from the line to the center point. It kind of sounds like you want the projection to the bottom axis of the polar plot filled in a vertical type of fill mode. Do you want to fill to the center point of the polar chart or down to the axis??
08-27-2008 09:24 AM - edited 08-27-2008 09:25 AM
Very nice unclebump,
You get 5 stars for that one To help people new with LabVIEW I decided to attach a picture showing you where to navigate to make the change. You need to change the logic constant from false to true in the Polar Plot Data.vi (Labeled Polar Data) under the Polar Plot.vi (No Label just a picture of a polar plot). The plot comes out filled because it is a multiple line graph drawn in a picture node with the line fill option on.
Regards,
-SS
08-28-2008 05:24 AM
Thank you to you both, i was sure it was possible, the polar plotting system is a bit like where's wally sometimes, you can find something once and never get to it again, i really apreciate both the method and the iamges of how to get there.
Thank you both!
john P.
08-28-2008 05:33 AM
and it works beuticfally for videos too, grand.
One queary can you set one plot for fill to center point and one to stay as a line easily??
not assential but an interesting thought.
08-28-2008 07:42 AM