MathGroup Archive 2005

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

Search the Archive

Re: pointsize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61865] Re: pointsize
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 2 Nov 2005 04:09:35 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 11/1/05 at 12:39 AM, chris.chiasson at gmail.com (Chris Chiasson)
wrote:

>MathGroup, Mathematica has PointSize and AbsolutePointSize. Regular
>pointsize is "a fraction of the width of the plot". Absolute
>pointsize is specified in printers' points. Is there pointsize that
>can be specified as a size relative to the coordinate system of the
>plot? 

I don't understand why you would need something in addition to PointSize to do this. In scaled coordinates, all plots run from {-1,-1} to {1,1}. So, the width of the plot in plot coordinates is some constant times 2. That means specifying the pointsize as a fraction of the width in scaled coordinates must also specify the pointsize as the same fraction of with in plot coordinates.

Perhaps, you are asking for something similar to AbsolutePointSize specified in plot cooordinates. If so, there isn't a built in function to do this. But it should not be difficult to create you own function to do this.

For any plot, the actual plot range can be extracted with

FullOptions[plot, PlotRange]

So, the width of the plot in plot coordinates is

-Subtract@@First@FullOptions[plot, PlotRange]

which will be the scaling factor needed. That is a point that you want to have
a diameter of 0.1 units in plot coordinates would be specified to have a
pointsize of

PointSize[0.1/plotwidth]

with plotwidth computed as above.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: 2.9.2 How Input and Output Work
  • Next by Date: Re: 2.9.2 How Input and Output Work
  • Previous by thread: pointsize
  • Next by thread: Re: Re: pointsize