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


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

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

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to make xrange and yrange unrelated to rgbimage binary data
Followup-To comp.graphics.apps.gnuplot
Date 2011-05-15 16:28 -0700
Organization gnuplot development team
Message-ID <iqpnj6$2hi$1@dont-email.me> (permalink)
References <fc88ed9e-ffbd-42d5-bed1-c0fae113d390@e35g2000yqc.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Quiet Mind wrote:

> Hello,
> 
> 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
> 
> if I use:
> set xrange [0:3980]
> set yrange [0:109]
> 
> then both image and ranges are displayed correctly.
> 
> But I need to specify an xrange and yrange completely unrelated to
> image rows and columns.
> It seems that there is now way to do that, or is it?

More than one way.
1) You could leave the image as it is, using the x1 and y1 axes,
   while adding addition plots that use the x2 and y2 axes
2) You could rescale the image on input to match whatever axis
   range you like.  See the demo
      http://gnuplot.sourceforge.net/demo_cvs/barchart_art.html

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-15 13:06 -0700
  Re: How to make xrange and yrange unrelated to rgbimage binary data sfeam <sfeam@users.sourceforge.net> - 2011-05-15 16:28 -0700

csiph-web