LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with multiple polar plots

Solved!
Go to solution

I have a vi where I graph three plots using the Polar plot vi.  The problem is that one of the graphs gets messed up when I plot them all. 

untitled.PNG

You can see that the outermost circle doesn't look right.  However, when I probe after the individual plots they seem to be ok, except the last one. 

 

I've attached a much simplified VI.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 1 of 7
(5,550 Views)

Hi Tim,

 

Thanks for the post and I hope your well today.


I can confirm that I can repoduce the issue. 


I was wondering did you have the same issue using this example..

 

multiple polar plots

http://decibel.ni.com/content/docs/DOC-1067

 

?

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 2 of 7
(5,543 Views)

Take a look at a modified piece of the code that works as I suppose you intended it to.

What do you think is the change in code that makes the difference?

 

CLD | CTD
LabVIEW 2011 SP1 | TestStand 4.5
Message 3 of 7
(5,539 Views)

Both of those seem to not show the issue.

 

Clearly I prefer Cornisih's solution to the other.  I am not sure I'll be able to use it in the context of my full program though, because the third plot is always changing.  I'll see if I can adapt it though.  

 

Thanks guys.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 4 of 7
(5,536 Views)

Well, I determined that it's the grid that makes it messed up.  If I change the color from grey to transparent the graphs look fine. Still can't pinpoint the difference between cornish's and mine...

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 5 of 7
(5,534 Views)
I found the difference between mine and Cornish's. The fact that the plot was much bigger changed where the grid lines were, and so they didn't overlap with the actual plot.  When I resized the plot to make it comparable to mine they overlapped again and I saw the same issue.
--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 6 of 7
(5,526 Views)
Solution
Accepted by topic author elset191
For the first graph you have to draw the grid and it works fine.  Then for any subsequent graph you can change the grid color to transparent so it doesn't redraw over the other plots.
Message Edited by elset191 on 06-25-2009 12:42 PM
--
Tim Elsey
Certified LabVIEW Architect
Message 7 of 7
(5,524 Views)