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


Murat
Posts:
7
Registered:
4/20/13


digits in plotting
Posted:
Apr 21, 2013 4:38 AM


i have a problem with digits in plotting. i use 4 'Y' axes and 2 of them are making the numbers like x10^3. How can i make them to display as it i wrote to the command menu? i write the numbers one by one to the variable editor. here is my basic programme ;
x = 0:10; y1=x; y2=x.^2; y3=x.^3; y4=x.^4; ylabels{1} = 'First ylabel'; ylabels{2} = 'Second ylabel'; ylabels{3} = 'Third ylabel'; ylabels{4} = 'Fourth ylabel'; [ax,hlines] = ploty4(x,y1,x,y2,x,y3,x,y4,ylabels); leghandle = legend(hlines, 'y = x','y = x^2','y = x^3','y = x^4',2);


Date

Subject

Author

4/21/13


Murat

4/21/13


dpb


