Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: splotting with pointsize variable => huge points!!! Followup-To: comp.graphics.apps.gnuplot Date: Thu, 07 Jun 2012 14:12:06 -0700 Organization: gnuplot development team Lines: 34 Message-ID: References: <9c18bc7d-aa5b-43f2-9298-4db906885d33@d17g2000vbv.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 7 Jun 2012 21:12:06 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="21180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ri4qkMqwzLFmCnfYlp9uq" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:LDoHwZv8Xf+U2rkRSND4aFTvYvE= Xref: csiph.com comp.graphics.apps.gnuplot:1192 gvdmoort wrote: > On 7 juin, 01:43, sfeam 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