Prev: how can I solve wave equation using pdetool box
Next: Fitting data and then accessing sse, rsquare, dfe, adjrsquare and rmse values
From: Kyle on 28 Jun 2010 16:09 Hey all, I am using meshc to plot a function z=f(x,y). Can someone tell me how to make the z axis a log scale?
From: us on 28 Jun 2010 16:18 "Kyle " <kbrig035(a)uottawa.ca> wrote in message <i0avh1$rl$1(a)fred.mathworks.com>... > Hey all, > > I am using meshc to plot a function z=f(x,y). Can someone tell me how to make the z axis a log scale? one of the solutions [x,y,z]=peaks(32); z=z-min(z(:)); meshc(x,y,z); set(gca,'zscale','log'); us
From: Kyle on 30 Jun 2010 13:42
"us " <us(a)neurol.unizh.ch> wrote in message <i0b02b$5jr$1(a)fred.mathworks.com>... > "Kyle " <kbrig035(a)uottawa.ca> wrote in message <i0avh1$rl$1(a)fred.mathworks.com>... > > Hey all, > > > > I am using meshc to plot a function z=f(x,y). Can someone tell me how to make the z axis a log scale? > > one of the solutions > > [x,y,z]=peaks(32); > z=z-min(z(:)); > meshc(x,y,z); > set(gca,'zscale','log'); > > us Perfect, thanks very much :) |