The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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
Read digits in plotting
Read Re: digits in plotting

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.