Mathematica Plotting interms of Y

  • Context: Mathematica 
  • Thread starter Thread starter imranq
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Click For Summary

Discussion Overview

The discussion revolves around plotting functions in Mathematica, specifically focusing on how to plot in terms of Y instead of the default X. Participants explore various methods and options available within Mathematica for achieving this, including the use of ParametricPlot and filling options for highlighting areas between curves.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant expresses difficulty in plotting a function in terms of Y, seeking a method to "turn" the graph 90 degrees.
  • Another suggests that a possible solution could involve populating a table and using ListPlot with the data arranged appropriately.
  • A third participant proposes the use of ParametricPlot as a potential solution.
  • A later reply indicates that while ParametricPlot worked, the participant is interested in using the filling option in Mathematica to highlight areas between curves, questioning if this can be done without resorting to external software like MS Paint.

Areas of Agreement / Disagreement

Participants present multiple approaches to the problem, indicating that there is no single agreed-upon solution. The discussion remains unresolved regarding the best method to achieve the desired plotting outcome.

Contextual Notes

There may be limitations related to the specific features of Mathematica being discussed, such as the availability of certain options for filling areas between curves, which are not fully explored in the thread.

imranq
Messages
57
Reaction score
1
I'm trying to plot a function in terms of Y, but it always treats y as if it were x. Is there anyway I could "Turn" the graph 90 degrees?

Thanks
 
Physics news on Phys.org
There is probably a much wiser option can't figure straight up but would likely just populate a table and do a listplot using that data in the appropriate order.
 
You could also use ParametricPlot
 
I know about ParametricPlot, that worked perfectly. But what I want is to use the filling option within Mathematica to highlight areas between curves. Is there a way to do this without importing the Mathematica image into MS Paint?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K