Re: Pen Lift for FlybackTrace erasure
- To: mathgroup at smc.vnet.net
- Subject: [mg66861] Re: [mg66830] Pen Lift for FlybackTrace erasure
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 2 Jun 2006 04:08:17 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Needs["Graphics`"]; z=Complex[x,y]; f[z_]=Sin[z]; RI={Re[f[z]],Im[f[z]]}; XY=Table[RI,{x,-Pi/2,Pi/2,Pi/10}, {y,-Pi/2,Pi/2,Pi/60}]//N; YX=Table[RI,{y,-Pi/2,Pi/2,Pi/10}, {x,-Pi/2,Pi/2,Pi/60}]//N; DisplayTogether[ ListPlot[#,PlotJoined->True,PlotStyle->Blue]&/@XY, ListPlot[#,PlotJoined->True,PlotStyle->Red]&/@YX, AspectRatio->Automatic,ImageSize->400]; or DisplayTogether[ MultipleListPlot[XY,PlotJoined->True, PlotStyle->{Blue},SymbolShape->None], MultipleListPlot[YX,PlotJoined->True, PlotStyle->Red,SymbolShape->None], AspectRatio->Automatic,ImageSize->400]; Bob Hanlon ---- Narasimham <mathma18 at hotmail.com> wrote: > Attempting to plot real/imaginary parts of a complex variable function > , {Re,Im}= f [x,y]. But in what follows, > > 1) How to ' lift pen ' for suppressing flyback tracer lines > connecting between start/end points of x and y set curves? > > 2) How to combine plotting the sets by a single commad like it is in > Plot3D or ParametricPlot3D? __ TIA > > z = Complex[x,y] ; f[z_]=Sin[z]; RI = N[ { Re[f[z]], Im[f[z]] } ]; > XY = Flatten[Table[ RI , {x, -Pi/2, Pi/2,Pi/10}, {y, -Pi/2, Pi/2,Pi/60} > ],1] ; > xy = ListPlot[XY,PlotJoined->True,AspectRatio->Automatic]; > > YX=Flatten[Table[ RI , {y, -Pi/2,Pi/2,Pi/10}, {x, -Pi/2, Pi/2,Pi/60} > ],1] ; > yx=ListPlot[YX,PlotJoined->True,AspectRatio->Automatic]; > Show[xy,yx]; > -- Bob Hanlon hanlonr at cox.net