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


Groups > comp.graphics.apps.gnuplot > #1100 > unrolled thread

yrange and ytics don't obey my commands!

Started byRyo <ryofurue@gmail.com>
First post2012-05-13 18:29 -0700
Last post2012-05-19 00:39 +0200
Articles 5 — 4 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  yrange and ytics don't obey my commands! Ryo <ryofurue@gmail.com> - 2012-05-13 18:29 -0700
    Re: yrange and ytics don't obey my commands! sfeam <sfeam@users.sourceforge.net> - 2012-05-14 16:46 -0700
      Re: yrange and ytics don't obey my commands! Ryo <ryofurue@gmail.com> - 2012-05-17 14:30 -0700
        Re: yrange and ytics don't obey my commands! Ingo Thies <ingo.thies@gmx.de> - 2012-05-18 23:45 +0200
          Re: yrange and ytics don't obey my commands! Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-05-19 00:39 +0200

#1100 — yrange and ytics don't obey my commands!

FromRyo <ryofurue@gmail.com>
Date2012-05-13 18:29 -0700
Subjectyrange and ytics don't obey my commands!
Message-ID<cbf856f6-1bf4-4d0a-b6cc-2d05d103f615@ri8g2000pbc.googlegroups.com>
Hi there,

I'm frustrated that I can't exactly specify the positions of the major
tics:

set ytics 0.03
set yrange [-0.64:-0.4]
unset autoscale
plot sin(x)

which gives tics at -0.63, -0.60, -0.57, . . . , -0.42 .  Why?  "set
autoscale fix" didn't help.  How can I get the tics at -0.64, -0.61,
-0.58, . . . , -0.4 ?

Cheers,
Ryo

Gnuplot
Version 4.6 patchlevel 0
last modified 2012-03-04
Build System: Linux i686

[toc] | [next] | [standalone]


#1102

Fromsfeam <sfeam@users.sourceforge.net>
Date2012-05-14 16:46 -0700
Message-ID<jos5gd$s22$1@dont-email.me>
In reply to#1100
Ryo wrote:

> Hi there,
> 
> How can I get the tics at -0.64, -0.61, -0.58, . . . , -0.4 ?

   set ytics -0.64, 0.03, -0.40


 
> Cheers,
> Ryo
> 
> Gnuplot
> Version 4.6 patchlevel 0
> last modified 2012-03-04
> Build System: Linux i686

[toc] | [prev] | [next] | [standalone]


#1127

FromRyo <ryofurue@gmail.com>
Date2012-05-17 14:30 -0700
Message-ID<ea04f438-d6a7-45f2-80f1-29f15c18a7eb@n5g2000pbg.googlegroups.com>
In reply to#1102
On May 14, 1:46 pm, sfeam <sf...@users.sourceforge.net> wrote:
> Ryo wrote:
> > Hi there,
>
> > How can I get the tics at -0.64, -0.61, -0.58, . . . , -0.4 ?
>
>    set ytics -0.64, 0.03, -0.40

Wow.  So simple.  Thank you for the help!

Having said that, isn't this a bug?  When autoscale is unset,
shouldn't ticks be generated strictly from yrange and the tic
interval?

Cheers,
Ryo

[toc] | [prev] | [next] | [standalone]


#1129

FromIngo Thies <ingo.thies@gmx.de>
Date2012-05-18 23:45 +0200
Message-ID<a1nu7mFnncU1@mid.individual.net>
In reply to#1127
On 2012-05-17 23:30, Ryo wrote:

> Having said that, isn't this a bug?  When autoscale is unset,
> shouldn't ticks be generated strictly from yrange and the tic
> interval?

I guess it actually intended that the tics are multiples of the 
separation between two tics, i.e. that there is always one tic at zero. 
In your example, the next tic to your start value -0.64 being an integer 
multiple of 0.3 is -0.63. This is what most users would expect.

Starting at a non-integer tic multiple needs to be specified explicitely.

Best wishes,

Ingo

[toc] | [prev] | [next] | [standalone]


#1130

FromHans-Bernhard Bröker <HBBroeker@t-online.de>
Date2012-05-19 00:39 +0200
Message-ID<a1o1d3FcigU2@mid.dfncis.de>
In reply to#1129
On 18.05.2012 23:45, Ingo Thies wrote:

> I guess it actually intended that the tics are multiples of the
> separation between two tics,

No need to guess --- the documentation says so quite explicitlz.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web