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


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

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

From Quiet Mind <quietmind4@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to make xrange and yrange unrelated to rgbimage binary data
Date 2011-05-24 14:32 -0700
Organization http://groups.google.com
Message-ID <28334caa-d83e-4459-9900-7ad056d3b7c8@s9g2000yqm.googlegroups.com> (permalink)
References <9d2b334d-142f-44a4-b3c4-37a8b31797aa@w21g2000yqm.googlegroups.com> <ir2j0b$1onk$1@gwdu112.gwdg.de>

Show all headers | View raw


On May 19, 11:05 am, Christoph Bersch <use...@bersch.net> wrote:
> 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

Thanks!

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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