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


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

Re: Different scale and step size for y-axis

From Ethan Merritt <eamerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Different scale and step size for y-axis
Date 2018-11-18 23:25 +0000
Organization A noiseless patient Spider
Message-ID <psssdu$8ih$1@dont-email.me> (permalink)
References <47116a2f-c37b-48d2-9df4-f6e667c37e4a@googlegroups.com>

Show all headers | View raw


On Sun, 18 Nov 2018 13:09:37 -0800, kristciko wrote:

> I want to plot the following dat file in a clustered histogram.
> Since the y-values differ a lot e.g. 68, -0.04, etc. I want to scale the y-axis in a nonlinear way. yrange will be [-1:70].
> I want to emphasise values from -1 to 1 in y-axis, which means to have a bigger scale size with a small interval, let's say 0.1. Then, for values from 1 to 70 I want to step using a bigger interval.
> 
> How can I achieve a y-axis like this?
> 
> -1------/-0,9------/-0,8---------/-0,7------//--------1----------20----------40----------60--------80
> 

Define y as a non-linear axis.
See example in the online demo set:

  http://gnuplot.sourceforge.net/demo_5.2/nonlinear1.html




> .dat file
> -------------
> #                              Delta-1                      Delta-2
> "Preparation"          1.126717                   68.852979
> "Establishment"     -0.0436158              1.5529298
> "Transfer"               -0.1172298               0.5735358

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


Thread

Different scale and step size for y-axis kristciko@gmail.com - 2018-11-18 13:09 -0800
  Re: Different scale and step size for y-axis Ethan Merritt <eamerritt@gmail.com> - 2018-11-18 23:25 +0000

csiph-web