HELP PLOT QUADS AND SHAPES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
HELP PLOT QUADS AND SHAPES
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Use NaN to separate the plot lines. To plot Box, it needs a, b, c, d, a dataset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Use NaN to separate the plot lines. To plot Box, it needs a, b, c, d, a dataset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
