MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

programmatically rotating a function plot


This (from some book) worked in Mathematica 4, but not now:

 - - - - - - - - - - - -
pic1 = Plot[8 Sin[Pi t] Exp[-t], {t, 0, 4}]

plot4[p_] := Module[{R, p1, p2, p3},
     R[q_] := Show[q/.{x_, y_}:> {-y,x}];
     p1 = R[p]; p2 = R[p1]; p3 = R[p2];
     Show[p,p1,p2,p3]
];

plot4[pic1]

 - - - - - - - - - - - - -

I can't figure out how to do it today.  Thanks for any suggestions.



  • Prev by Date: Re: number of Trangles in a graph-network
  • Next by Date: Re: How to get the options for ListPlot in V6
  • Previous by thread: Re: StepMonitor in mathlink
  • Next by thread: Re: programmatically rotating a function plot