Plotting with Mathematica or Wolframalpha

  • Context: Mathematica 
  • Thread starter Thread starter tolove
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
tolove
Messages
164
Reaction score
1
Apologies if this is readily available, but I can't seem to find an example of it.

How do I go about plotting multiple functions on the same graph? It keeps splitting my functions up into separate graphs. Nothing complicated, just something like two planes intersecting.
 
Physics news on Phys.org
If you want to plot something like ##f(x)=x^{2}## and ##g(x)=x^{3}## on the same graph with ##x## interval ##-1 \leq x \leq 1##, using Mathematica, you write Plot[{x^2, x^3},{x,-1,1}]. At least this works in Mathematica 7.
 
  • Like
Likes   Reactions: 1 person
hilbert2 said:
If you want to plot something like ##f(x)=x^{2}## and ##g(x)=x^{3}## on the same graph with ##x## interval ##-1 \leq x \leq 1##, using Mathematica, you write Plot[{x^2, x^3},{x,-1,1}]. At least this works in Mathematica 7.

Thanks! Works!