Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: x-axis break redux

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: x-axis break redux
Date 2011-04-01 11:17 +0200
Organization GWDG, Goettingen
Message-ID <in456n$24mb$1@gwdu112.gwdg.de> (permalink)
References <3c5ab6b1-b32f-4c16-bd89-1f4aaf7786b2@p16g2000vbi.googlegroups.com>

Show all headers | View raw


Hi,

On 31.03.2011 19:37, bryan wrote:
> this page:
> http://gnuplot-tricks.blogspot.com/2009/06/broken-axis-revisited.html
>
> describes breaking the x-axis in a plot. it seems to work very well
> for the described settings (try copy/paste), however, i am wondering
> if any gnuplot users tried settings like:
>
> A=8.0; # original 4.5 : This is where the break point is located
> B=170.0; # original 3.0 : This is how much is cut out of the graph
> C=0;   # original 0.0 : The lower limit of the graph
> D=210;  # original 13  : The upper limit with the cut-out of the graph
>
> ... because i do not get 0-8,--//--170-210 instead it looks like
>
> 0-8,-//----------------210
>
> with 0-8 "crammed" into the left of the plot.

of course, because the xrange is [C:D]. The idea of the script is to use 
the original xtics for [C:A] and to set them manually for the rest. So D 
should be 40 or 50 in your case. Try first to change only D and to play 
around with the manual setting of the xtics. Then you will see better 
how it works.

Christoph

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


Thread

x-axis break redux bryan <bryanlepore@gmail.com> - 2011-03-31 10:37 -0700
  Re: x-axis break redux Christoph Bersch <usenet@bersch.net> - 2011-04-01 11:17 +0200

csiph-web