May 1, 2008 #1 N nsit1234 Newbie level 6 Joined May 20, 2006 Messages 12 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,350 Hi I'm using Matlab 6.06 and in a program i am required to set the axis of a graph I'm trying to display y axis as 10^(-25) to 1 and X axis 0 to 50. Is there any command which I can use .
Hi I'm using Matlab 6.06 and in a program i am required to set the axis of a graph I'm trying to display y axis as 10^(-25) to 1 and X axis 0 to 50. Is there any command which I can use .
May 1, 2008 #2 E echo47 Advanced Member level 6 Joined Apr 7, 2002 Messages 3,933 Helped 638 Reputation 1,274 Reaction score 90 Trophy points 1,328 Location USA Activity points 33,176 Here's one way: x = 0 : 50; y = 3 .^ (x-50); semilogy(x, y); Another way: x = 0 : 50; y = 3 .^ (x-50); plot(x, y); set(gca, 'YScale', 'log'); I'm using version 7.5. I don't have version 6.06 to try.
Here's one way: x = 0 : 50; y = 3 .^ (x-50); semilogy(x, y); Another way: x = 0 : 50; y = 3 .^ (x-50); plot(x, y); set(gca, 'YScale', 'log'); I'm using version 7.5. I don't have version 6.06 to try.