Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


dpb
Posts:
9,293
Registered:
6/7/07


Re: Looped inset plot
Posted:
Jan 18, 2013 8:38 AM


On 1/17/2013 5:50 PM, Josh wrote: > dpb <none@non.net> wrote in message <kd6tu5$v3u$2@speranza.aioe.org>... >> 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 yaxis 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 lsline nor why text wasn't "working properly" though.



Date

Subject

Author

1/16/13


dpb

1/16/13


dpb

1/16/13


dpb

1/18/13


dpb

1/18/13


dpb

1/18/13


dpb


