Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1610
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: setting absolute size of point (or circle) with autoscaled xrange |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2013-02-07 09:04 -0800 |
| Organization | gnuplot development team |
| Message-ID | <kf0mq4$qda$1@dont-email.me> (permalink) |
| References | <a3425937-06b3-4d68-9cde-d9edf6510371@googlegroups.com> |
Followups directed to: comp.graphics.apps.gnuplot
fearless_fool wrote:
> I understand that the size of a circle or point is in units of the x
> axis. But what if I want to set the circle size to an absolute number
> of pixels, or percentage of the plot area?
See "help set style circle"
set style circle radius screen 0.01
plot "-" using 1:2 with circles
Ethan
>
> In particular, what if I want to set the circle size to the same as
> shown in the legend?
>
> I'm currently doing a scatter plot as shown below. I compute the
> circle size (shown below as 0.667) by pawing over the x values to get
> the min and max and scaling the size relative to that. This sort of
> works, except that the autoscaling limits are not the same as the
> minimum and maximum of the data: ===== set terminal aqua enhanced font
> "Helvetica, 14"
>
> plot "-" using 1:2:(0.667) title "{/Helvetica=12 predicted}" with
> circles fillstyle solid noborder linecolor rgb "#ff4444" 9.0
> 26870.488225 10.74 26622.450975
> 12.48 26375.879575
> ...
> 94.26 17585.44715
> end
> =====
> Another approach would be do to a dry run (i.e. "set table /dev/null;
> plot etc; unset table") and capture the values of GPVAL_XMIN and
> GPVAL_XMAX to see where autoscaling set them, then scale the circle
> size accordingly.
>
> (I'd hoped I could do something like '... with circles size screen
> 0.01 ...' but no luck.)
>
> Is there an easier way?
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
setting absolute size of point (or circle) with autoscaled xrange fearless_fool <rdpoor@gmail.com> - 2013-02-07 07:26 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange sfeam <sfeam@users.sourceforge.net> - 2013-02-07 09:04 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange fearless_fool <rdpoor@gmail.com> - 2013-02-07 09:23 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange sfeam <sfeam@users.sourceforge.net> - 2013-02-07 10:29 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange fearless_fool <rdpoor@gmail.com> - 2013-02-07 10:36 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange fearless_fool <rdpoor@gmail.com> - 2013-02-07 10:55 -0800
Re: setting absolute size of point (or circle) with autoscaled xrange sfeam <sfeam@users.sourceforge.net> - 2013-02-07 13:31 -0800
csiph-web