Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: PlotVectorField

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34789] Re: PlotVectorField
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 7 Jun 2002 01:08:51 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <admu9j$emu$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

what is with

PlotVectorField[{1, 4 - x^2 - y^2}, {x, -3, 3}, {y, -3, 3}, 
  ScaleFunction -> (1 &), PlotPoints -> 9, ScaleFactor -> 0.75, 
  PlotRange -> All]

??
Regards
  Jens

Selwyn Hollis wrote:
> 
> I have a situation where I need to PlotVectorField with a specific
> PlotRange. For example,
> 
> <<Graphics`PlotField`;
> PlotVectorField[{1,4-x^2-y^2},{x,-3,3},{y,-3, 3},
>   ScaleFunction->(1&), PlotPoints -> 9, ScaleFactor -> 0.75,
>   PlotRange->{{-3.2, 3.2},{-3.2, 3.2}}]
> 
> As happens with that example, arrows near the edge often get chopped
> off. That's to be expected. What I'd like to do is use PlotRegion to
> create ``margins" around the plot so that all the arrows are fully
> visible. For example,
> 
> PlotVectorField[{1,4-x^2-y^2},{x,-3,3},{y,-3, 3},
>   ScaleFunction->(1&), PlotPoints -> 9, ScaleFactor -> 0.75,
>   PlotRange->{{-3.2, 3.2},{-3.2, 3.2}}, PlotRegion->{{.1,.9},{.1,.9}}]
> 
> This brings the heads of the arrows back into the picture, but the
> lines don't connect with the heads. In other instances, heads get
> drawn badly and look like boxes.
> 
> Short of changing the PlotRange, xmin, xmax, ymin, ymax values, is
> there some better way to do this?
> 
> And is this an ``issue" with PlotVectorField?
> 
> Thanks in advance,
> 
> Selwyn


  • Prev by Date: RE: Is it possible to access internal variables? [CompoundExpression]
  • Next by Date: RE: PlotVectorField
  • Previous by thread: RE: PlotVectorField
  • Next by thread: RE: PlotVectorField