Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: digits in plotting
Replies: 1   Last Post: Apr 21, 2013 9:12 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murat

Posts: 7
Registered: 4/20/13
digits in plotting
Posted: Apr 21, 2013 4:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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 y-label';
ylabels{2} = 'Second y-label';
ylabels{3} = 'Third y-label';
ylabels{4} = 'Fourth y-label';
[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
Read digits in plotting
Murat
4/21/13
Read Re: digits in plotting
dpb

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.