11-05-2008 05:21 AM
Hi!!
i am developped this code where by entering a specific angle called Thmax you will get the corresponding voltages at the output of a Dac. 4 voltages precisely.
Now i need to plot a graph whose inputs are this specific angle and a 1D arry element which i called PHASE in my block diagram.
In matlab, the plot looks like this:
The single point should be highlited in the graph or at list, be seen.
I tried those sub VIs: - Plot Waveform -Polar plot ( since i am dealing with angle). But still, without a success.
Please help me out...11-05-2008 06:49 AM
Hi,
In MathScript, you can use the functions plot and polar. And in LabVIEW, you can use the Polar Plot Indicator, which draws polar plot in Picture Control.
11-06-2008 05:01 AM
Hi,
I tried the Polar Plot Sub Vi but i noticed that i could only create a control , which is a 1 D array of 2 cluster elements.
My inputs are a 1D array of elements and a single point...
11-06-2008 08:23 PM
Hi,
Yes, the Polar Plot only accepts an array of cluster to specify the magnitude and phase of each data point. I do not know what your 1D array of elements and a single point stand for. However, you should format your data into the format which Polar Plot VI can accept.
11-10-2008 03:02 AM
My Vi is at the beginning of the post. I tried to change the data but without a success, that the reason why i had to post my work on the forum...
11-10-2008 03:11 AM
Hi,
I want to create a script for bode plot and polar plot without using matlab, is it possibl?
Thanks
Nidhi
11-10-2008 03:15 AM
Hi,
I suppose that you want Voltage array to be the magnitude and Phase array to be the phase for polar plot. Then, you can use the Index & Bundle Cluster Array to generate input for Polar Plot. See the attached snapshot for detail.
11-10-2008 03:18 AM
11-10-2008 03:26 AM
Hi,
Thanks for your reply but i have one input which i m taking from data portal, & i want to plot the bode plot in report directly in one run?
Thanks
Nidhi
11-10-2008 04:01 AM
Hi,
Are you using DIAdem? I guess you want to draw polar and bode plot in DIAdem report, am I right? The DIAdem can draw polar plot. However, I am not sure whether DIAdem can draw bode plot. I need to check.