Once you've tinkered with a figure graphically you can also (from the file menu) export as a m file to see what settings you've changed for manually inputting into your code.
"Omkar Palsule-Desai" <firstname.lastname@example.org> wrote in message <email@example.com>...
> In the "plot" command, can I do selective plotting? The limits on x and y axes are specified. I don't want zeros on y-axis to be printed. Is this kind of plotting possible?
> Thank you in advance.
> In the "plot" command, can I do selective plotting? The limits on x and
> y axes are specified. I don't want zeros on y-axis to be printed. Is
> this kind of plotting possible?
If the point (x,0) is within the range of both the x and y limits, then
it will be plotted. There is no option within plot to say "do not draw
points that go through the following polygon" nor "if a line would go
through the following polygon, only draw to the outside edge of the
If 0 is within your ylimit range, but you wish such points to be
skipped, then you need to not submit the point for plotting. The easiest
way would be:
y(y==0) = nan;
This will cause a break in the lineseries where that point would have been.
Tags for this Thread
No tags are associated with this thread.
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.