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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Ethan Merritt <eamerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Different scale and step size for y-axis
Date Sun, 18 Nov 2018 23:25:50 -0000 (UTC)
Organization A noiseless patient Spider
Lines 26
Message-ID <psssdu$8ih$1@dont-email.me> (permalink)
References <47116a2f-c37b-48d2-9df4-f6e667c37e4a@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sun, 18 Nov 2018 23:25:50 -0000 (UTC)
Injection-Info reader01.eternal-september.org; posting-host="aa08e0d2ea41ad0d9d67e7a997585263"; logging-data="8785"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/p3gJ+Ljws7WeF4PA4h4Gh"
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Cancel-Lock sha1:oIuvE6kkA3jcaXAAC3hm6Gl3aQ8=
Xref csiph.com comp.graphics.apps.gnuplot:4059

Show key headers only | 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