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


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

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-07 14:12 -0700
Organization gnuplot development team
Message-ID <jqr5f6$kls$1@dont-email.me> (permalink)
References <a132d119-933d-439e-bea9-b074075e25d4@s9g2000vbg.googlegroups.com> <jqopvb$g3e$1@dont-email.me> <9c18bc7d-aa5b-43f2-9298-4db906885d33@d17g2000vbv.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


gvdmoort wrote:

> On 7 juin, 01:43, sfeam <sf...@users.sourceforge.net> wrote:
> 
>> 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
>>
> 
> Thanks for your reaction. There was some confusion in my 1rst message
> because I also tried to plot data from an image to points with
> variable size.
> 
> This doesn't work:
> 
> gnuplot> plot 'grey_small.png' binary filetype=auto using 1:2:($3/255)
> with points pt 7 ps variable
>          Too many using specs for this style


Hold on a moment.
Originally you were asking about ascii input data -
how does this PNG file fit into the picture?

It would help if you would explain what you are trying to do.
Is the idea to map the pixel value into a point size?  Why?
What is the mapping?  Are you sure you want a PNG file for this?

The input mode "binary filetype=png"  (you used "auto" but that's the same
since it's a png image) is only intended for use with the image plot
styles (with image, with rgbalpha, etc).  But "set table" doesn't know how 
to dump image data, so I suspect you're just plotting garbage at that point.

	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