Re: Re: pointsize

• To: mathgroup at smc.vnet.net
• Subject: [mg61880] Re: [mg61865] Re: pointsize
• From: Chris Chiasson <chris.chiasson at gmail.com>
• Date: Thu, 3 Nov 2005 04:58:49 -0500 (EST)
• References: <200511020909.EAA06971@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Smart thinking on resetting the PointSize

BTW, what is a "point" if not a small... Circle :-]

> 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
>
>

--
http://chrischiasson.com/contact/chris_chiasson

```

• References:
• Prev by Date: Re: 2.9.2 How Input and Output Work