Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Manhandling the REFRESH function?
Replies: 1   Last Post: Jul 15, 1997 10:24 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Wayne Mallett

Posts: 1
Registered: 12/7/04
Manhandling the REFRESH function?
Posted: Jul 15, 1997 1:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



G'day,

Is there anyone out there who knows of a way of altering the way a
figure is refreshed? I have been developing some M-files for placing
labels on the lines of a contour plot (similar to the "extcontour"
package). The package (as is) allows use of the mouse to select the
placement of these labels along a line, WITHOUT removing data from
the contour description matrix (the points defining the lines).

Instead of altering the contour description matrix I had planned on
using the patch function to remove a piece of contour line so as to
add a line label. However, I have found that after adding a couple of
line labels in this way, lines are drawn over some of the existing labels
in what appears to be a very random way. It turns out that I have never
been able to get more than about 70% of the labels added properly (i.e.,
without lines drawn through them). I am assuming that the way a figure
is refreshed is responsible for this problem.

So back to my question: Is there a way of telling the refresh function
to not redraw/refresh certain objects? I've already tried (in vain) using
the following properties (none of which I know much about).

set(figure_handle,'BackingStore','off');
set(axes_handle,'Layer','top'); %% I couldn't find any documentation
%% on this property, so I tried it!
set(axes_handle,'DrawMode','fast');
set(line_handle,'EraseMode','xor');
set(line_handle,'EraseMode','none');
set(line_handle,'EraseMode','background');



Thanking you,

Wayne Mallett
Email: Wayne.Mallett@jcu.edu.au





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.