Re: ContourPlot Problem
- To: mathgroup at smc.vnet.net
- Subject: [mg83129] Re: ContourPlot Problem
- From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
- Date: Mon, 12 Nov 2007 05:14:37 -0500 (EST)
- References: <fh3qip$l1$1@smc.vnet.net> <47357A63.1040807@gmail.com> <473610D2.5030309@umbc.edu> <22d35c5a0711101352p1def71a0if6881713c5bb8b16@mail.gmail.com>
YES!! That does it. Thank you. Strange though that one needs to specify both the contours and the plot range. Kevin Jean-Marc Gulliet wrote: > Kevin J. McCann wrote: > > >> Yes, but I actually want to specify the contours, and it won't do it. >> > > <snip> > > Oh, I see. In this case, what one must do, in addition to specify the > location of the contour lines, is to control the plot range. (The > original expression clips the region of the plot where the value of V > are greater than one.) By specifying the desired range, say from 0 to > 5, you will get all the desired contours. For instance, > > ContourPlot[V[0.9, x, z], {x, -L, L}, {z, -L, L}, Contours -> cntrs, > FrameLabel -> {"x", "z"}, PlotRange -> {0, 5}] > > Hope this answers (correctly this time!) your question. > > Regards, > -- Kevin J. McCann Research Associate Professor JCET/Physics University of Maryland, Baltimore County (UMBC) 1000 Hilltop Circle Baltimore, MD 21250