I have a long relation between “Betta[omega]” versus “omega”. When I use <>, at first I should define the range of omega, and the range of Betta[omega] should be defined at the end. As a result the plot is “omega versus Betta”. I mean the horizontal axis is omega. But I want to plot Betta as a horizontal axis. What should I do?
Any help would be appreciated.
Since no working example was provided, it is not clear what you are trying to plot. ContourPlot requires a function of two variables. If you want to swap the x and y coordinates, swap the range specifications for x and y. e.g.
Row[{
ContourPlot[y + Sin[x^2 + 3 y], {x, 0, 1}, {y, 0, 3},
ImageSize -> Small],
ContourPlot[y + Sin[x^2 + 3 y], {y, 0, 3}, {x, 0, 1},
ImageSize -> Small]
}]
Thanks, I did, but it did not work. and it shows nothing . because Y is a function of x. could you please look at the attachment. Regards.
answer_post.nb (23.4 KB)
