Dear sir
I'm plotting the Polar and Rectangular plots simultaneously.
Please find the enclosed VI.
From front panel if I select plot type as rectangular it is saving the both plots with data, but if I select plot type as polar the data in rectangular plot is not saving.
I have customized the polar plot, after opening the VI if it shows any errors please replace the polar plot.
Kindly resolve the issue.
Regards,
S Nagaraju
已解决! 转到解答。
Hi Sonti,
I surprised that when rectangular is visible and polar is hidden it saves both images. If I make a simple VI where I set visible = False for both plots, then all I get is a grey rectangle as the image. But, I verified the behavior you are talking about.
I think your best bet is to make sure whatever plot you want in image of has visibility set to True before taking the image data.
Hello gregoryj,
Plot type is only for visibility.
Irrespective of selection both plots to be saved with data. But when i select plot type as polar the data in rectangular graph is not saving.
Please find the enclosed images for more clarity.
Regards,
S Nagaraju
Yes, I understand the issue. I just think something is not being updated sometimes when the XY Graph is hidden, so I would make sure whatever graph you want an image of has Visibility set to True before you get the image data.
Hello gregoryj,
Ok I'll make visibility true before saving.
Can you please explain the issue, why data is not saving when rectangular graph is hidden.
Regards,
S Nagaraju.
Probably NI doesn't bother updating the appearance of that graph when it is hidden because why waste the time to do that when it isn't displayed.
Then why polar plot is saving when it is hidden??
Regards,
S Nagaraju
Thank you very much the replay.
I have one more doubt, actually in rectangular plot the X-axis coordinates are -180 to 180. After plotting a horizontal line which is joining from 180 to -180. How to remove the joining line.
Please find the enclosed pic for more clarity.
Regards,
S Nagaraju
"reply".
Do you mean you have a question? "Doubt" means you don't believe something to be true.
To get rid of the horizontal line, you basically need to put a break in the data. If you arranged your data so the array was truly -180 to 180 then you'd be done. I'm guessing your data starts and ends elsewhere and it makes a jump from 180 back to -180 somewhere in the middle. What you can do is insert a data point at that discontinuity that has a value of NaN for the X, Y, or both. NaN values do not print on a graph or chart in LabVIEW.