Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Size of dot in dots style

5,182 views
Skip to first unread message

Thelma Lubkin

unread,
Nov 13, 2010, 3:03:58 AM11/13/10
to
Is there any way to increase the size of the dot used by the dots
style?

Olaf Schultz

unread,
Nov 13, 2010, 5:53:00 AM11/13/10
to
On Sat, 13 Nov 2010 00:03:58 -0800, Thelma Lubkin wrote:

> Is there any way to increase the size of the dot used by the dots style?

e.g.
ps 0.8 (or something else:-)
but won't work for pt 0 (in my working version at work:-)

complete syntax
set style data linespoints
plot "oink.dat" u 1:2 t "oink" pt 1 ps 0.4

Olaf, HTH

sfeam

unread,
Nov 13, 2010, 12:15:58 PM11/13/10
to
Thelma Lubkin wrote:

> Is there any way to increase the size of the dot used by the dots
> style?

The short answer is "no". The long answer involves idiosyncracies
of individual terminal drivers, so let's not go there.

However point style 7 is a filled circle, and it scales with the
current point size. So one possible alternative is to use
"with points pointtype 7 pointsize N"
instead of
"with dots"

Thelma Lubkin

unread,
Nov 13, 2010, 2:17:38 PM11/13/10
to

yes, it won't work for plot with dots, which your'e saying is
the same as pt=0?

> Olaf, HTH

Thelma Lubkin

unread,
Nov 13, 2010, 2:21:23 PM11/13/10
to

I can only get the filled circle point with x11, not with the
mac's more usual aquaterm.
And I haven't figured out how to tell x11 to give me a square
screen, so it's distorting my plots badly--I see discussion of
changing screen size/resolution, but it involves a /etc/x11.config or
some such file that I don't seem to have. Any help would be
appreciated. Thanks, --thelma

Ingo Thies

unread,
Nov 30, 2010, 7:49:08 AM11/30/10
to
Hi Thelma Lubkin!

Although the thread is more than two weeks old, I hope you are still
reading new posts to it.

On 2010-11-13 20:21 Thelma Lubkin wrote:

> I can only get the filled circle point with x11, not with the
> mac's more usual aquaterm.

You can use the circles style, but will have to adjust the radius
according to your plot ranges (so that they appear as small points:

r=0.5
set style fill transparent solid 1.0 noborder
plot '-' using 1:2:(r) w circles
0. 0.
1. 1.
2. 2.
3. 3.
e

A note to the developers: I have just noticed that in aqua clipping
circles with borders cause spurious lines. In x11 there is no such problem:

r=0.5
set style fill transparent empty border
plot '-' using 1:2:(r) w circles
0. 0.
1. 1.
2. 2.
3. 3.
e

> And I haven't figured out how to tell x11 to give me a square
> screen, so it's distorting my plots badly--I see discussion of
> changing screen size/resolution, but it involves a /etc/x11.config or
> some such file that I don't seem to have. Any help would be
> appreciated. Thanks, --thelma

In your .Xdefaults file (if it does not exist, create it) in your home
directory, add the line

gnuplot*geometry: 600x600

for a 600x600 pixels windows. You can change the pixel numbers freely to
fit your requirements.

You might also try my multiplot layout script posted in "Helper script
for automatic multiplot layout" in this group on November 29 here,
Message-ID

<8liale...@mid.individual.net>

or download it from

http://www.astro.uni-bonn.de/~ithies/gnuplot/mplayout/

Although it has been developed for multiplot frames it should also work
for single plots.

HTH

Ingo

0 new messages