Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > Mathematics Software Discussion
Reply
 
Thread Tools Display Modes
  #1  
Old August 1st, 2009, 11:35 AM
VonNemo19's Avatar
No one in Particular
 
Join Date: Apr 2009
Location: Detroit, MI
Posts: 1,725
Country:
Thanks: 461
Thanked 534 Times in 500 Posts
VonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to all
Default Maple12

How can I set my viewing window in a 2-d plot involving trig functions to fractional values of \pi?
__________________
"Then thou carriedst thine ashes into the mountains:
wilt thou now carry thy fire into the valleys?"

Thus Spake Zarathustra
Friedrich Nietzsche

If you would like to know how the quadratic formula was derived, visit my post entitled:
Deriving the Quadratic Formula.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
Advertisement
 
  #2  
Old August 1st, 2009, 11:44 AM
McScruffy's Avatar
Generous Contributor
 
Join Date: Jul 2009
Posts: 87
Country:
Thanks: 36
Thanked 32 Times in 27 Posts
McScruffy is on a distinguished road
Default

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
maple12-plot.gif  
Reply With Quote
  #3  
Old August 1st, 2009, 12:10 PM
VonNemo19's Avatar
No one in Particular
 
Join Date: Apr 2009
Location: Detroit, MI
Posts: 1,725
Country:
Thanks: 461
Thanked 534 Times in 500 Posts
VonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to all
Default

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
__________________
"Then thou carriedst thine ashes into the mountains:
wilt thou now carry thy fire into the valleys?"

Thus Spake Zarathustra
Friedrich Nietzsche

If you would like to know how the quadratic formula was derived, visit my post entitled:
Deriving the Quadratic Formula.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #4  
Old August 1st, 2009, 12:22 PM
McScruffy's Avatar
Generous Contributor
 
Join Date: Jul 2009
Posts: 87
Country:
Thanks: 36
Thanked 32 Times in 27 Posts
McScruffy is on a distinguished road
Default

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
maple12-plot2.gif  
Reply With Quote
The Following 2 Users Say Thank You to McScruffy For This Useful Post:
Donate to MHF
  #5  
Old August 1st, 2009, 12:33 PM
VonNemo19's Avatar
No one in Particular
 
Join Date: Apr 2009
Location: Detroit, MI
Posts: 1,725
Country:
Thanks: 461
Thanked 534 Times in 500 Posts
VonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to all
Default

That'll work.
__________________
"Then thou carriedst thine ashes into the mountains:
wilt thou now carry thy fire into the valleys?"

Thus Spake Zarathustra
Friedrich Nietzsche

If you would like to know how the quadratic formula was derived, visit my post entitled:
Deriving the Quadratic Formula.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #6  
Old August 1st, 2009, 12:37 PM
McScruffy's Avatar
Generous Contributor
 
Join Date: Jul 2009
Posts: 87
Country:
Thanks: 36
Thanked 32 Times in 27 Posts
McScruffy is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old August 1st, 2009, 01:37 PM
VonNemo19's Avatar
No one in Particular
 
Join Date: Apr 2009
Location: Detroit, MI
Posts: 1,725
Country:
Thanks: 461
Thanked 534 Times in 500 Posts
VonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to all
Default

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?
__________________
"Then thou carriedst thine ashes into the mountains:
wilt thou now carry thy fire into the valleys?"

Thus Spake Zarathustra
Friedrich Nietzsche

If you would like to know how the quadratic formula was derived, visit my post entitled:
Deriving the Quadratic Formula.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #8  
Old August 1st, 2009, 02:48 PM
McScruffy's Avatar
Generous Contributor
 
Join Date: Jul 2009
Posts: 87
Country:
Thanks: 36
Thanked 32 Times in 27 Posts
McScruffy is on a distinguished road
Default

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.
Reply With Quote
The following users thank McScruffy for this useful post:
Donate to MHF
  #9  
Old August 1st, 2009, 02:54 PM
McScruffy's Avatar
Generous Contributor
 
Join Date: Jul 2009
Posts: 87
Country:
Thanks: 36
Thanked 32 Times in 27 Posts
McScruffy is on a distinguished road
Default

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
maple12-plot3.gif  
Reply With Quote
The Following 2 Users Say Thank You to McScruffy For This Useful Post:
Donate to MHF
  #10  
Old August 1st, 2009, 03:08 PM
VonNemo19's Avatar
No one in Particular
 
Join Date: Apr 2009
Location: Detroit, MI
Posts: 1,725
Country:
Thanks: 461
Thanked 534 Times in 500 Posts
VonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to allVonNemo19 is a name known to all
Default

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.
__________________
"Then thou carriedst thine ashes into the mountains:
wilt thou now carry thy fire into the valleys?"

Thus Spake Zarathustra
Friedrich Nietzsche

If you would like to know how the quadratic formula was derived, visit my post entitled:
Deriving the Quadratic Formula.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 09:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.