-1

Usually to make a graph in wxmaxima my code is

wxdraw2d(sin(x),[x,0,2*%pi]);

Is there a way to write the code as

wxdraw2d([x,0,2*%pi],sin(x));

in order to exchange the X and Y axes?

Robert Dodier
  • 16,905
  • 2
  • 31
  • 48
Imparter
  • 11
  • 3

1 Answers1

0

One way to exchange the X and Y axes is to use implicit, like this:

draw2d (implicit (x=sin(y), x, -1, 1, y, -10, 10));

There may be another way, but I wasn't able to find anything else in a few minutes of searching.

Robert Dodier
  • 16,905
  • 2
  • 31
  • 48