Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1182

Re: splotting with pointsize variable => huge points!!!

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: splotting with pointsize variable => huge points!!!
Followup-To comp.graphics.apps.gnuplot
Date 2012-06-06 16:43 -0700
Organization gnuplot development team
Message-ID <jqopvb$g3e$1@dont-email.me> (permalink)
References <a132d119-933d-439e-bea9-b074075e25d4@s9g2000vbg.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


gvdmoort wrote:

> I'm trying to plot with points of variable size with gnuplot 4.4 on a
> Debian testing platform.
> 
> I've found this trick on
> http://www.gnuplot.info/demo_canvas/pointsize.html:
> 
> plot 'world.dat' with lines lt 3, \
> 'world.cor' using 1:2:(5.*rand(0)) with points lt 1 pt 6 ps
> variable
> 
> I've tried something simple:
> 
> gnuplot> splot '-' matrix with points pt 7 ps variable
> input data ('e' ends) > 0 1
> input data ('e' ends) > 2 3
> input data ('e' ends) > e
> input data ('e' ends) > e
> 
> but the resulting plot has so huge points that they cover nearly all
> the plot, such I get a quasi full-red  terminal...

Getting any point at all from that command is a bug.
The 3D matrix format provides implicit x,y values and one explicit z
value for each point.  There is no additional (4th) data column from 
which you can read a point size. 

I am guessing that you really were aiming for a 2D plot?
In that case the command you want is

gnuplot> plot '-' matrix using 1:2:3 with points pt 7 ps variable

This command does work here using gnuplot version 4.4, but
the exact size of the points will depend on the terminal type.

	Ethan

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

splotting with pointsize variable => huge points!!! gvdmoort <gvdmoort@skynet.be> - 2012-06-06 02:27 -0700
  Re: splotting with pointsize variable => huge points!!! sfeam <sfeam@users.sourceforge.net> - 2012-06-06 16:43 -0700
    Re: splotting with pointsize variable => huge points!!! gvdmoort <gvdmoort@skynet.be> - 2012-06-07 12:16 -0700
      Re: splotting with pointsize variable => huge points!!! sfeam <sfeam@users.sourceforge.net> - 2012-06-07 14:12 -0700
        Re: splotting with pointsize variable => huge points!!! sfeam <sfeam@users.sourceforge.net> - 2012-06-07 14:27 -0700
        Re: splotting with pointsize variable => huge points!!! gvdmoort <gvdmoort@skynet.be> - 2012-06-08 00:10 -0700
        Re: splotting with pointsize variable => huge points!!! gvdmoort <gvdmoort@skynet.be> - 2012-06-08 00:22 -0700

csiph-web