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

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 2011-05-19 10:05 +0200
Organization GWDG, Goettingen
Message-ID <ir2j0b$1onk$1@gwdu112.gwdg.de> (permalink)
References <9d2b334d-142f-44a4-b3c4-37a8b31797aa@w21g2000yqm.googlegroups.com>

Show all headers | 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