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: Pin To Axes
Replies: 5   Last Post: Jul 1, 2013 4:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Yoav Mor

Posts: 14
Registered: 9/21/05
Pin To Axes
Posted: Sep 21, 2005 10:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I'm creating a subplot and a line notation on top.
I'm trying to pin my line to the plot and cannot find any function
that does so.

my schematic code is:

-------------------------------------------------
a = figure();
b(1) = subplot (2,1,1);
b(2) = subplot (2,1,2);
plot (b(1),[1:10:1000]);
plot (b(2),[1000:-10:1]);
anno2 = annotation('line',[0.5 0.5],[0.2 0.8]);
% <- At this stage I want to pin it...
-------------------------------------------------

of course that by right-clicking on the annotation I can perform this
but I need to do it dynamically within my function.

Is that possible?



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.