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


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

autoscale: y axis always scales from "0"

From ervson <erwin.krohmer@mytum.de>
Newsgroups comp.graphics.apps.gnuplot
Subject autoscale: y axis always scales from "0"
Date 2011-11-25 02:59 -0800
Organization http://groups.google.com
Message-ID <7e013a4d-a830-41b0-810b-b5377e2f5f25@o5g2000yqa.googlegroups.com> (permalink)

Show all headers | View raw


Hi,
I'm trying to set up a plot in gnuplot with autoscale. But always when
i try to plot my data the y axis has its minimum at 0, though there is
no data in the file with a value of 0 or anything like that.
I haven't set any yrange and when i type "show autoscale" gnuplot
tells me that autoscale is OFF for every axis.

I just can't find any mistake, but I also have to say that i'm a
gnuplot newbie.

So here's what I try to plot:

reset
M_N=  0.800
unset key
set size ratio -1
set style line 1 lt -1 lc "black" lw 5
set terminal pdf enhanced font "Helvetica" size 11.6,8.2
set terminal  push
set autoscale
set terminal unknown
plot "DATA.PKT" using 1:2
MIN_Y=GPVAL_DATA_Y_MIN
MAX_Y=GPVAL_DATA_Y_MAX
set terminal pop
set output "EVO.pdf"
plot "DATA.PKT" using 1:2 w filledcurve y1=MIN_Y-0.5*M_N ls 1 fs solid
0.2

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

autoscale: y axis always scales from "0" ervson <erwin.krohmer@mytum.de> - 2011-11-25 02:59 -0800

csiph-web