Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Trying to plot some protection relay characteristics.
Please see attached failure
Could be box quad or even boxes with bits cut out.
Solved! Go to Solution.
Use NaN to separate the plot lines. To plot Box, it needs a, b, c, d, a dataset.
Use NaN to separate the plot lines. To plot Box, it needs a, b, c, d, a dataset.
As long as the shapes are polygons you simply create a vector of x-coordinates and a second vector of y-coordinates and plot one over the other.
And Prime will connnect the points in the order you give them. Thats the reason it connects #3 with #4 which is obviously not what you want.
Furthermore you will have to add the first point again as last one if you want the polygon to be closed.
In your case you may consider two separate plots - you can make them with just the two vectors if you separate them by inserting a "point" with coordinates (NaN/NaN).
Another way is to go back from #3 to #2 and then go ahead to #4 as shown in the picture below