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


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

Re: How to make xrange and yrange unrelated to rgbimage binary data

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!news.gwdg.de!.POSTED!not-for-mail
From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to make xrange and yrange unrelated to rgbimage binary data
Date Thu, 19 May 2011 10:05:31 +0200
Organization GWDG, Goettingen
Lines 30
Message-ID <ir2j0b$1onk$1@gwdu112.gwdg.de> (permalink)
References <9d2b334d-142f-44a4-b3c4-37a8b31797aa@w21g2000yqm.googlegroups.com>
NNTP-Posting-Host mpl1136.mpl.mpg.de
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace gwdu112.gwdg.de 1305792331 58100 141.5.32.136 (19 May 2011 08:05:31 GMT)
X-Complaints-To news@gwdg.de
NNTP-Posting-Date Thu, 19 May 2011 08:05:31 +0000 (UTC)
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
In-Reply-To <9d2b334d-142f-44a4-b3c4-37a8b31797aa@w21g2000yqm.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:325

Show key headers only | View raw


On 18.05.2011 22:28, Quiet Mind wrote:
>
> I have an image data in rgb format organized in 110 rows 3981 pixels
> each:
> plot 'test.rgb' binary array=3981x110 flipy format='%uchar' with
> rgbimage

> 2) I tried the demo, but in the demo, still, xrange and yrange mean
> image pixels,
> if you change demo xrange to [10000:20000] then picture will
> disapppear!
>
> It seems that there is now way to do that, or is it?

With the using modifier you can change the data as you like (see 'Plot 
-> Data -> Using' in the documentation). A very simple example:

File test.dat:

1 1
2 2
3 3

File test.gp

set xrange[1010:1030]
plot 'test.dat' using ($1*10 + 1000):2 with linespoints


Christoph

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


Thread

How to make xrange and yrange unrelated to rgbimage binary data Quiet Mind <quietmind4@gmail.com> - 2011-05-18 13:28 -0700
  Re: How to make xrange and yrange unrelated to rgbimage binary data Christoph Bersch <usenet@bersch.net> - 2011-05-19 10:05 +0200
    Re: How to make xrange and yrange unrelated to rgbimage binary data Quiet Mind <quietmind4@gmail.com> - 2011-05-24 14:32 -0700

csiph-web