From: Charles on 15 Apr 2010 10:15 Hi, I want to modify how my plot looks in Matlab. Take for instance, if I plot x=[-1 :1] and y=[0:1], the y axis is at -1 of x. is there a way to make the y-axis rest in the middle of the x-axis? I.e at x=0. Thanks.
From: someone on 15 Apr 2010 10:51 "Charles " <nkwosman(a)yahoo.com> wrote in message <hq771p$qt6$1(a)fred.mathworks.com>... > Hi, I want to modify how my plot looks in Matlab. Take for instance, if I plot > x=[-1 :1] and y=[0:1], the y axis is at -1 of x. is there a way to make the y-axis rest in the middle of the x-axis? I.e at x=0. Thanks. Download & try PlotAxisAtOrigin from the MATLAB FEX at: http://www.mathworks.com/matlabcentral/fileexchange/10473-plotaxisatorigin
From: Charles on 15 Apr 2010 11:50 Haven't tried it yet, but thanks a lot for your response. "someone" <someone(a)somewhere.net> wrote in message <hq794o$54k$1(a)fred.mathworks.com>... > "Charles " <nkwosman(a)yahoo.com> wrote in message <hq771p$qt6$1(a)fred.mathworks.com>... > > Hi, I want to modify how my plot looks in Matlab. Take for instance, if I plot > > x=[-1 :1] and y=[0:1], the y axis is at -1 of x. is there a way to make the y-axis rest in the middle of the x-axis? I.e at x=0. Thanks. > > Download & try PlotAxisAtOrigin from the MATLAB FEX at: > > http://www.mathworks.com/matlabcentral/fileexchange/10473-plotaxisatorigin
From: Charles on 15 Apr 2010 11:58 Works perfect. Exactly what I wanted. Thanks a lot. "someone" <someone(a)somewhere.net> wrote in message <hq794o$54k$1(a)fred.mathworks.com>... > "Charles " <nkwosman(a)yahoo.com> wrote in message <hq771p$qt6$1(a)fred.mathworks.com>... > > Hi, I want to modify how my plot looks in Matlab. Take for instance, if I plot > > x=[-1 :1] and y=[0:1], the y axis is at -1 of x. is there a way to make the y-axis rest in the middle of the x-axis? I.e at x=0. Thanks. > > Download & try PlotAxisAtOrigin from the MATLAB FEX at: > > http://www.mathworks.com/matlabcentral/fileexchange/10473-plotaxisatorigin
|
Pages: 1 Prev: Grouped barplot with two axes Next: Removing Image Curvature |