| Author |
Comment/Response |
Fabrice P. Laussy
|
11/13/99 07:14am
>I'd like to plot current vs gain for the >following equation, in which X takes on the discrete values {0, 3, 6, 9, 12}. (Please note that it's not possible
>to express the current in an explicit form.)
>
>gain[current_, X_] = -Log[1/current -1] + X(2 current -1);
>transferFunctionList = Table [gain[current,X], {X,0,12,3}];
>Plot[Evaluate[transferFunctionList], {current,0,1},
> PlotRange->{-8,8}]
>
>The resulting graph is sorta kinda what I want, except that
>I want the gain axis to be the independent(x) axis and the
>current axis to be the dependent(y) axis.
>
>Is there any way to accomplish this without resorting to
>a power series expansion of the logarithm? I have tried
>(possibly with incorrect syntax) the ImplicitPlot function
>in the Graphics addon, but it chokes.
If you want to plot what you call the resulting graph after a glide reflection, thus making x a function of y, you can use instead of ImplicitPlot a ParametricPlot, in which case I suggest in replacement to your very last line:
Show[ParametricPlot[{#,current}, {current,0,1}]&/@transferFunctionList]
Laussy.
URL: , |
|