Results 1 to 10 of 10

Math Help - Maple12

  1. #1
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823

    Maple12

    How can I set my viewing window in a 2-d plot involving trig functions to fractional values of \pi?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member McScruffy's Avatar
    Joined
    Jul 2009
    Posts
    87
    Awards
    1
    Quote Originally Posted by VonNemo19 View Post
    How can I set my viewing window in a 2-d plot involving trig functions to fractional values of \pi?
    Do you mean like this?

    plot(sin(x), x=0..\frac{\pi}{4});
    Attached Thumbnails Attached Thumbnails Maple12-plot.gif  
    Follow Math Help Forum on Facebook and Google+

  3. #3
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823
    Quote Originally Posted by McScruffy View Post
    Do you mean like this?

    plot(sin(x), x=0..\frac{\pi}{4});
    I mean like changing the numbers that apear on the axes however I wish.

    In particular using symbols
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Member McScruffy's Avatar
    Joined
    Jul 2009
    Posts
    87
    Awards
    1
    Quote Originally Posted by VonNemo19 View Post
    I mean like changing the numbers that apear on the axes however I wish.

    In particular using symbols
    How about this?

    plot(sin(x), 0..\frac{3\pi}{2}, xtickmarks=[1.57=Pi/2, 3.14=Pi, 4.71=3Pi/2]);
    Attached Thumbnails Attached Thumbnails Maple12-plot2.gif  
    Follow Math Help Forum on Facebook and Google+

  5. #5
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823
    That'll work.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Member McScruffy's Avatar
    Joined
    Jul 2009
    Posts
    87
    Awards
    1
    Quote Originally Posted by VonNemo19 View Post
    That'll work.
    You can use the \pi symbol in the common symbols palette instead of the Pi, but in the end it doesn't really make a difference.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823
    One last thing here...

    Do I have to include the decimal approximation in the command, or is there another, more simpler way to label the axes?
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Member McScruffy's Avatar
    Joined
    Jul 2009
    Posts
    87
    Awards
    1
    Quote Originally Posted by VonNemo19 View Post
    One last thing here...

    Do I have to include the decimal approximation in the command, or is there another, more simpler way to label the axes?
    The only way that I know how to do it is with the decimal approximations, but that by no means implies that there isn't another way to do it. I'll let you know if I find another approach.
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Member McScruffy's Avatar
    Joined
    Jul 2009
    Posts
    87
    Awards
    1
    Quote Originally Posted by VonNemo19 View Post
    One last thing here...
    Ok, I think that I got it.

    plot(sin(x), x=0..(3Pi/2), tickmarks=[spacing(Pi/2, 0), default]);

    you may have to play around with it a bit, but that should give you the general idea. That method prints the axis labels a bit nicer too.
    Attached Thumbnails Attached Thumbnails Maple12-plot3.gif  
    Follow Math Help Forum on Facebook and Google+

  10. #10
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823
    Quote Originally Posted by McScruffy View Post
    Ok, I think that I got it.

    plot(sin(x), x=0..(3Pi/2), tickmarks=[spacing(Pi/2, 0), default]);

    you may have to play around with it a bit, but that should give you the general idea. That method prints the axis labels a bit nicer too.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Fourier Transform with maple12
    Posted in the Math Software Forum
    Replies: 2
    Last Post: May 13th 2010, 08:55 AM
  2. Maple12
    Posted in the LaTeX Help Forum
    Replies: 5
    Last Post: August 1st 2009, 11:45 AM

Search Tags


/mathhelpforum @mathhelpforum