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


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

Re: plotting contours of binary data

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plotting contours of binary data
Followup-To comp.graphics.apps.gnuplot
Date 2013-02-13 10:21 -0800
Organization gnuplot development team
Message-ID <kfglhe$psp$1@dont-email.me> (permalink)
References <87a362ec-2b50-4925-ab96-2cfffdc31bc0@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


vadimbiktashev@gmail.com wrote:

> I am trying to plot contours of data read as a binary matrix.
> The data are read correctly and show the expected picture, however when I
> try to contour it, gnuplot says it is non-grid data, and nothing can be
> done about it (see below for an example of an attempt). 

> I am using version 4.2 (alas newer versions do not compile on my machine).

If there are compilation errors, could you file a bug report so that we
can fix them?

	Ethan


> Any hints would be
> highly appreciated.
> 
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> gnuplot> plot '0.5_0.05.gnumx' binary matrix with image
> gnuplot> splot '0.5_0.05.gnumx' binary matrix with image
> 
> NOTICE:  A triangle/quadrangle/pentagon clipping algorithm
>          needs to be added for pixels at the boundary.  Image
>          may lie outside borders in some instances.
> 
> gnuplot> set contour surface
> gnuplot> splot '0.5_0.05.gnumx' binary matrix with image
> Notice: Cannot contour non grid data. Please use "set dgrid3d".
> gnuplot> set dgrid3d
> gnuplot> splot '0.5_0.05.gnumx' binary matrix with image
> 
> GNUPLOT (plot_image):  Number of pixels cannot be factored into integers
> matching grid. N = 10  K = 7
> 
> gnuplot>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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


Thread

plotting contours of binary data vadimbiktashev@gmail.com - 2013-02-13 09:32 -0800
  Re: plotting contours of binary data sfeam <sfeam@users.sourceforge.net> - 2013-02-13 10:21 -0800

csiph-web