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


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

Re: yaxis max of "at least" some value

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: yaxis max of "at least" some value
Followup-To comp.graphics.apps.gnuplot
Date 2012-05-16 16:26 -0700
Organization gnuplot development team
Message-ID <jp1d43$cm2$1@dont-email.me> (permalink)
References <e793e15f-ee3d-45b0-9646-e41b9947bb2f@p1g2000vbv.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Bryan wrote:

> I'm trying to get the Y axis to always show at least 120.  If the Y
> values are greater than 120, then there is no problem, but if they are
> less than 120, I would like the graph to at least always show 120 on
> the Y axis.
> 
> I have tried messing around with min/max of autoscale, and writeback,
> but neither seem to do what I want.

See "help set xrange"
You want something like

    set yrange [ * ; 120 < * ]

This option is new to version 4.6, so if you have an older gnuplot it 
won't help.

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


Thread

yaxis max of "at least" some value Bryan <bryanvick@gmail.com> - 2012-05-16 15:43 -0700
  Re: yaxis max of "at least" some value sfeam <sfeam@users.sourceforge.net> - 2012-05-16 16:26 -0700

csiph-web