Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Maple functions

  1. Sep 23, 2009 #1
    Hi there

    I would like to plot a two/several functions using Maple on the same graph but with different intervals on the x exis. What I have at the moment is a Maple command for plotting two/several functions on the same graph with the same interval on the x exis.

    Thanks
    Amos
     
  2. jcsd
  3. Sep 24, 2009 #2

    LCKurtz

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Here's an example showing you how to do it:

    with(plots):
    f:=plot(4-x,x=2..4):
    g:=plot(cos(x),x=-Pi/2..0):
    display({f,g});

    The trick is to name the plots. Be sure to put a colon on those steps because Maple stores the plot instructions in f and g and you don't want to see that.
     
  4. Sep 24, 2009 #3
    O thanks a lot. Your methods is working very well!
    GOD BLESS!!!
    Amos
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Maple functions
  1. Tab in maple (Replies: 3)

  2. A Maple Problem (Replies: 1)

Loading...