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


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

set link via in version 5.0 vs 5.2

From Klaus Dahlke <kdahlke@gmx.de>
Newsgroups comp.graphics.apps.gnuplot
Subject set link via in version 5.0 vs 5.2
Date 2017-10-04 20:49 +0000
Organization Aioe.org NNTP Server
Message-ID <or3hft$1roa$1@gioia.aioe.org> (permalink)

Show all headers | View raw


I use gnuplot mainly by calling it from a ruby on rails application, but 
the following behaviour difference is also observable just by using 
gnuplot from the command line:

I like to plot two datasets, one for axes x1 and y1 and the second one 
for x2 and y2. In Gnuplot 5.0 the following set of commends works fine:

set autoscale xfixmax
set link x2 via x*0.319 inverse x/0.319

and plot has the expected outcome. The plot is then an rectangular where 
the x1 axes and x2 axes ends just at/on the y2 axis.

After upgrade to version 5.2 plotting is aborted with 'x range is 
invalid'. When replacing 'set autoscale xfixmax' with e.g 'set xrange 
[0:7349]' the plot is produced fine, 'set xrange [0:*]' doesn't work.

In ruby it is easy to determine the maximum of the x-axes and then 
construct the respective command to be parsed to gnuplot.

Nevertheless, would be happyif the behaviour could be reverted back to 
use 'set autoscale xfixmax'.

Thankd and best regards,
Klaus
 

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


Thread

set link via in version 5.0 vs 5.2 Klaus Dahlke <kdahlke@gmx.de> - 2017-10-04 20:49 +0000
  Re: set link via in version 5.0 vs 5.2 Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-05 09:30 -0700
    Re: set link via in version 5.0 vs 5.2 Klaus Dahlke <kdahlke@gmx.de> - 2017-10-05 21:36 +0000
      Re: set link via in version 5.0 vs 5.2 Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-10-05 17:37 -0700

csiph-web