Prev: Matlab Journals
Next: Vectorisation
From: Zhen on 14 Jul 2010 15:09 Hi, I have plotted two different objects to the same figure and am trying to change the view perspective one only one object. So far, I am able to change the view of both objects by running a loop and changing the azimuth/elevation of the "view" command during each pass. After doing some research, it seems that I can create two different axes with two different handles (with the same origin), plot one object in each axis, and then try to change the view on the axis that contains the object that I want "rotated". However, it isn't working for some reason (i.e., both objects' views still change together, or one won't even plot). Does anyone know a better way to do this besides the creating two axes method?
From: Michael on 14 Jul 2010 19:06 % I DON'T UNDERSTAND, WHY NOT: figure h(1)=subplot(1,2,1); peaks; view(-100,-120); h(2)=subplot(1,2,2); peaks; view(-10,-20)
From: Zhen on 15 Jul 2010 11:46 I guess I should've been more specific: Both objects are centered at the same location in the same figure (not using subplot). I just want to change the view of one object while keeping the same view perspective on the other object. Is this possible? "Michael " <michaelrobbinsusenet(a)aol.com> wrote in message <i1lfsr$fuu$1(a)fred.mathworks.com>... > % I DON'T UNDERSTAND, WHY NOT: > > figure > > h(1)=subplot(1,2,1); > peaks; > view(-100,-120); > > h(2)=subplot(1,2,2); > peaks; > view(-10,-20)
|
Pages: 1 Prev: Matlab Journals Next: Vectorisation |