help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Holding axis properties between plots


From: Vodden John
Subject: RE: Holding axis properties between plots
Date: Wed, 30 Apr 2008 15:05:54 +0100

>>  Thanks for the help, but hold holds "the current data on the plot 
>> when  executing subsequent plotting commands." It is not the data
that 
>> I want  to hold but instead general state of the graph, normally axis

>> limits but  possibly labels and tic settings too.

> % on first plot
> h = plot(.....)
> % do some axis configuration
> set(gca, ...)
> % change plot data
> set(h, 'xdata', ..., 'ydata', ...)

Thank you, this does the job. I clearly need to get more used to
thinking in terms of "graphics handles." So far this is a part of octave
which I have largely ignored so this sort of manipulation doesn't yet
roll off the fingers.

John

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]