The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Looped inset plot
Replies: 9   Last Post: Jan 18, 2013 5:23 PM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: Looped inset plot
Posted: Jan 18, 2013 8:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 1/17/2013 5:50 PM, Josh wrote:
> dpb <> wrote in message <kd6tu5$v3u$>...
>> On 1/16/2013 1:01 PM, dpb wrote:
>> ...

>> > Play around w/ the following at some point when you've got some data...
>> >

>> > >> figure
>> > >> h1=axes; % create a main axes object
>> > >> plot(h1,x,y,'*') % plot into it
>> > >> h2=axes('pos',[.55 .25 .30 .50]); % now an inset set of axes
>> > >> boxplot(h2,y) % and the boxplot therein...

>> >
>> > Now, each loop thru, pick the proper set of axes.
>> >


> Thank you for the help. It turned out to be not easily workable. There
> was a host of problems including the y-axis on the main plot not
> clearing, not being able to include an lsline, inserted text did not
> work properly, etc.


Don't understand the above...guess it comes down to the "easily" part,
but can't think it's not relatively simple for any/all of the above.

Certainly would help to see what your code that didn't please looked
like...if 'hold on' is not in action the plot() should change the axis
to match the new data if use it, if not using plot() but replacing data
one does need to rescale if necessary of course. I was presuming the
data would be of roughly same magnitude but if not then that's a need,
certainly. I can't understand why you say you couldn't include a
ls-line nor why text wasn't "working properly" though.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.