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


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

Axis labelling with many decimals

Started byDieter Britz <dieterhansbritz@gmail.com>
First post2013-08-15 08:28 +0000
Last post2013-08-23 08:32 -0700
Articles 12 — 3 participants

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


Contents

  Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-15 08:28 +0000
    Re: Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-15 08:41 +0000
    Re: Axis labelling with many decimals sfeam <sfeam@users.sourceforge.net> - 2013-08-15 08:53 -0700
      Re: Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-19 09:54 +0000
        Re: Axis labelling with many decimals sfeam <sfeam@users.sourceforge.net> - 2013-08-19 10:47 -0700
          Re: Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-20 08:21 +0000
            Re: Axis labelling with many decimals sfeam <sfeam@users.sourceforge.net> - 2013-08-20 16:32 -0700
              Re: Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-22 09:00 +0000
                Re: Axis labelling with many decimals Karl <mail.kfr@gmx.net> - 2013-08-22 13:29 +0200
                Re: Axis labelling with many decimals sfeam <sfeam@users.sourceforge.net> - 2013-08-22 09:45 -0700
                  Re: Axis labelling with many decimals Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-23 08:54 +0000
                    Re: Axis labelling with many decimals sfeam <sfeam@users.sourceforge.net> - 2013-08-23 08:32 -0700

#1972 — Axis labelling with many decimals

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-15 08:28 +0000
SubjectAxis labelling with many decimals
Message-ID<kui3f9$876$1@dont-email.me>
I have an x-range that is a very tight bunch with many decimals,
so that the numbers overlap. I avoid that by rotating by 90 deg,
but they then intrude into the frame:

set format x '%10.8f'
set xrange [0.87845758:0.87845769]
set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90

How can I lower the labels so that they are outside the frame?

-- 
Dieter Britz

[toc] | [next] | [standalone]


#1973

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-15 08:41 +0000
Message-ID<kui48m$bks$1@dont-email.me>
In reply to#1972
On Thu, 15 Aug 2013 08:28:25 +0000, Dieter Britz wrote:

> I have an x-range that is a very tight bunch with many decimals,
> so that the numbers overlap. I avoid that by rotating by 90 deg,
> but they then intrude into the frame:
> 
> set format x '%10.8f'
> set xrange [0.87845758:0.87845769]
> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
> 
> How can I lower the labels so that they are outside the frame?

PS: I also want the symbol '{/Symbol d}' to label the x-axis and
it too must not overlap with anything.

-- 
Dieter Britz

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


#1974

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-08-15 08:53 -0700
Message-ID<kuithi$jk$1@dont-email.me>
In reply to#1972
Dieter Britz wrote:

> I have an x-range that is a very tight bunch with many decimals,
> so that the numbers overlap. I avoid that by rotating by 90 deg,
> but they then intrude into the frame:
> 
> set format x '%10.8f'
> set xrange [0.87845758:0.87845769]
> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
> 
> How can I lower the labels so that they are outside the frame?

# right justify the labels
set xtics rotate by 90 right

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


#1978

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-19 09:54 +0000
Message-ID<kusq1a$ec0$1@dont-email.me>
In reply to#1974
On Thu, 15 Aug 2013 08:53:23 -0700, sfeam wrote:

> Dieter Britz wrote:
> 
>> I have an x-range that is a very tight bunch with many decimals,
>> so that the numbers overlap. I avoid that by rotating by 90 deg,
>> but they then intrude into the frame:
>> 
>> set format x '%10.8f'
>> set xrange [0.87845758:0.87845769]
>> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
>> 
>> How can I lower the labels so that they are outside the frame?
> 
> # right justify the labels set xtics rotate by 90 right

That doesn't work.

-- 
Dieter Britz

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


#1979

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-08-19 10:47 -0700
Message-ID<kutlmv$826$1@dont-email.me>
In reply to#1978
Dieter Britz wrote:

> On Thu, 15 Aug 2013 08:53:23 -0700, sfeam wrote:
> 
>> Dieter Britz wrote:
>> 
>>> I have an x-range that is a very tight bunch with many decimals,
>>> so that the numbers overlap. I avoid that by rotating by 90 deg,
>>> but they then intrude into the frame:
>>> 
>>> set format x '%10.8f'
>>> set xrange [0.87845758:0.87845769]
>>> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
>>> 
>>> How can I lower the labels so that they are outside the frame?
>> 
>> # right justify the labels set xtics rotate by 90 right
> 
> That doesn't work.

"doesn't work" is not a helpful description.
It certainly works in general, and it works using the commands
above when tested here.

If you have additional information (gnuplot version? OS? terminal driver?)
and sample incorrect output, please file a bug report on SourceForge.

	Ethan


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


#1982

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-20 08:21 +0000
Message-ID<kuv8ue$24o$1@dont-email.me>
In reply to#1979
On Mon, 19 Aug 2013 10:47:10 -0700, sfeam wrote:

> Dieter Britz wrote:
> 
>> On Thu, 15 Aug 2013 08:53:23 -0700, sfeam wrote:
>> 
>>> Dieter Britz wrote:
>>> 
>>>> I have an x-range that is a very tight bunch with many decimals,
>>>> so that the numbers overlap. I avoid that by rotating by 90 deg,
>>>> but they then intrude into the frame:
>>>> 
>>>> set format x '%10.8f'
>>>> set xrange [0.87845758:0.87845769]
>>>> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
>>>> 
>>>> How can I lower the labels so that they are outside the frame?
>>> 
>>> # right justify the labels set xtics rotate by 90 right
>> 
>> That doesn't work.
> 
> "doesn't work" is not a helpful description.
> It certainly works in general, and it works using the commands above
> when tested here.

OK, so here is what I did, and what gnuplot said:

...
set xrange [0.87845758:0.87845769]
set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1
set mxtics 5
set ytics 1.1863, 0.0001, 1.1873
set xtics rotate by 90 right
...

         line 0: undefined variable: right

-- 
Dieter Britz

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


#1986

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-08-20 16:32 -0700
Message-ID<kv0u9q$anp$1@dont-email.me>
In reply to#1982
Dieter Britz wrote:

> On Mon, 19 Aug 2013 10:47:10 -0700, sfeam wrote:
> 
>> Dieter Britz wrote:
>> 
>>> On Thu, 15 Aug 2013 08:53:23 -0700, sfeam wrote:
>>> 
>>>> Dieter Britz wrote:
>>>> 
>>>>> I have an x-range that is a very tight bunch with many decimals,
>>>>> so that the numbers overlap. I avoid that by rotating by 90 deg,
>>>>> but they then intrude into the frame:
>>>>> 
>>>>> set format x '%10.8f'
>>>>> set xrange [0.87845758:0.87845769]
>>>>> set xtics  0.87845758, 0.00000001, 0.87845769 rotate by 90
>>>>> 
>>>>> How can I lower the labels so that they are outside the frame?
>>>> 
>>>> # right justify the labels set xtics rotate by 90 right
>>> 
>>> That doesn't work.
>> 
>> "doesn't work" is not a helpful description.
>> It certainly works in general, and it works using the commands above
>> when tested here.
> 
> OK, so here is what I did, and what gnuplot said:
> 
> ...
> set xrange [0.87845758:0.87845769]
> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1
> set mxtics 5
> set ytics 1.1863, 0.0001, 1.1873
> set xtics rotate by 90 right
> ...
> 
>          line 0: undefined variable: right

So I take it this is a very old version of gnuplot?
If so, the most straightforward solution is to get a newer version.

	Ethan




> 

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


#1988

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-22 09:00 +0000
Message-ID<kv4jv9$she$1@dont-email.me>
In reply to#1986
On Tue, 20 Aug 2013 16:32:10 -0700, sfeam wrote:

[...]
>> OK, so here is what I did, and what gnuplot said:
>> 
>> ...
>> set xrange [0.87845758:0.87845769]
>> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1 set mxtics 5
>> set ytics 1.1863, 0.0001, 1.1873 set xtics rotate by 90 right ...
>> 
>>          line 0: undefined variable: right
> 
> So I take it this is a very old version of gnuplot?
> If so, the most straightforward solution is to get a newer version.

OK, so I downloaded the up to date package, untarred it, and I get all 
this:


aclocal.m4  configure.in   GNUmakefile  Makefile.in     PGPKEYS     term
BUGS        configure.vms  INSTALL      Makefile.maint  pm3d        
tutorial
ChangeLog   Copyright      INSTALL.gnu  man             PORTING     
VERSION
CodeStyle   demo           install-sh   missing         README      win
config      depcomp        lisp         mkinstalldirs   README.1ST
config.hin  docs           m4           NEWS            share
configure   FAQ.pdf        Makefile.am  PATCHLEVEL      src

Now what do I do? I work under Suse 12.2 Linux. Do I simply
type in ./install-sh ?
Are there any traps, possible missing dependencies etc?

-- 
Dieter Britz

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


#1989

FromKarl <mail.kfr@gmx.net>
Date2013-08-22 13:29 +0200
Message-ID<kv4sms$k56$1@news.rz.uni-karlsruhe.de>
In reply to#1988
Am 22.08.2013 11:00, schrieb Dieter Britz:
> On Tue, 20 Aug 2013 16:32:10 -0700, sfeam wrote:
> 
> [...]
>>> OK, so here is what I did, and what gnuplot said:
>>>
>>> ...
>>> set xrange [0.87845758:0.87845769]
>>> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1 set mxtics 5
>>> set ytics 1.1863, 0.0001, 1.1873 set xtics rotate by 90 right ...
>>>
>>>          line 0: undefined variable: right
>>
>> So I take it this is a very old version of gnuplot?
>> If so, the most straightforward solution is to get a newer version.
> 
> OK, so I downloaded the up to date package, untarred it, and I get all 
> this:
> 
> 
> aclocal.m4  configure.in   GNUmakefile  Makefile.in     PGPKEYS     term
> BUGS        configure.vms  INSTALL      Makefile.maint  pm3d        
> tutorial
> ChangeLog   Copyright      INSTALL.gnu  man             PORTING     
> VERSION
> CodeStyle   demo           install-sh   missing         README      win
> config      depcomp        lisp         mkinstalldirs   README.1ST
> config.hin  docs           m4           NEWS            share
> configure   FAQ.pdf        Makefile.am  PATCHLEVEL      src
> 
> Now what do I do? I work under Suse 12.2 Linux. Do I simply
> type in ./install-sh ?
> Are there any traps, possible missing dependencies etc?
> 

I´d try README and INSTALL.

(rtfm)

You´ll have to download a bunch of development packages. Compiler,
library headers, etc. The ./configure script will complain if it misses
something.

  Karl

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


#1994

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-08-22 09:45 -0700
Message-ID<kv5f71$chl$1@dont-email.me>
In reply to#1988
Dieter Britz wrote:

> On Tue, 20 Aug 2013 16:32:10 -0700, sfeam wrote:
> 
> [...]
>>> OK, so here is what I did, and what gnuplot said:
>>> 
>>> ...
>>> set xrange [0.87845758:0.87845769]
>>> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1 set mxtics 5
>>> set ytics 1.1863, 0.0001, 1.1873 set xtics rotate by 90 right ...
>>> 
>>>          line 0: undefined variable: right
>> 
>> So I take it this is a very old version of gnuplot?
>> If so, the most straightforward solution is to get a newer version.
> 
> OK, so I downloaded the up to date package, untarred it, and I get all
> this:
> 
> 
> aclocal.m4  configure.in   GNUmakefile  Makefile.in     PGPKEYS     term
> BUGS        configure.vms  INSTALL      Makefile.maint  pm3d
> tutorial
> ChangeLog   Copyright      INSTALL.gnu  man             PORTING
> VERSION
> CodeStyle   demo           install-sh   missing         README      win
> config      depcomp        lisp         mkinstalldirs   README.1ST
> config.hin  docs           m4           NEWS            share
> configure   FAQ.pdf        Makefile.am  PATCHLEVEL      src
> 
> Now what do I do? I work under Suse 12.2 Linux. Do I simply
> type in ./install-sh ?

The command in question was introduced some time prior to the release of
gnuplot version 4.6 (January 2012).  A quick search indicates that there are
plenty of SuSE packages for gnuplot 4.6, so you should be fine using one
of those.

If you do want to build from current CVS source, the minimal set of 
commands is
    ./prepare
    ./configure
    make


> Are there any traps, possible missing dependencies etc?

It is likely that the output from ./configure will indicate additional
development packages that would need to be installed in order to include
support for specific terminal types or other features.  In other words,
you need to install many more packages to build gnuplot from source than
you need for simply running a pre-built executable.

	Ethan


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


#1996

FromDieter Britz <dieterhansbritz@gmail.com>
Date2013-08-23 08:54 +0000
Message-ID<kv780f$loj$2@dont-email.me>
In reply to#1994
On Thu, 22 Aug 2013 09:45:19 -0700, sfeam wrote:

> Dieter Britz wrote:
> 
>> On Tue, 20 Aug 2013 16:32:10 -0700, sfeam wrote:
>> 
>> [...]
>>>> OK, so here is what I did, and what gnuplot said:
>>>> 
>>>> ...
>>>> set xrange [0.87845758:0.87845769]
>>>> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1 set mxtics 5
>>>> set ytics 1.1863, 0.0001, 1.1873 set xtics rotate by 90 right ...
>>>> 
>>>>          line 0: undefined variable: right
>>> 
>>> So I take it this is a very old version of gnuplot?
>>> If so, the most straightforward solution is to get a newer version.
>> 
>> OK, so I downloaded the up to date package, untarred it, and I get all
>> this:
>> 
>> 
>> aclocal.m4  configure.in   GNUmakefile  Makefile.in     PGPKEYS    
>> term BUGS        configure.vms  INSTALL      Makefile.maint  pm3d
>> tutorial ChangeLog   Copyright      INSTALL.gnu  man            
>> PORTING VERSION CodeStyle   demo           install-sh   missing        
>> README      win config      depcomp        lisp         mkinstalldirs  
>> README.1ST config.hin  docs           m4           NEWS           
>> share configure   FAQ.pdf        Makefile.am  PATCHLEVEL      src
>> 
>> Now what do I do? I work under Suse 12.2 Linux. Do I simply type in
>> ./install-sh ?
> 
> The command in question was introduced some time prior to the release of
> gnuplot version 4.6 (January 2012).  A quick search indicates that there
> are plenty of SuSE packages for gnuplot 4.6, so you should be fine using
> one of those.
> 
> If you do want to build from current CVS source, the minimal set of
> commands is
>   /prepare
>  ./configure
>   make
> 
> 
>> Are there any traps, possible missing dependencies etc?
> 
> It is likely that the output from ./configure will indicate additional
> development packages that would need to be installed in order to include
> support for specific terminal types or other features.  In other words,
> you need to install many more packages to build gnuplot from source than
> you need for simply running a pre-built executable.
> 
> 	Ethan

I have V. 4.4 running. What you write seems to imply
that there is an easier way to update this. What might
that be? Is there an rpm that would do the job in one
hit?

-- 
Dieter Britz

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


#2001

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-08-23 08:32 -0700
Message-ID<kv7v9q$9l2$1@dont-email.me>
In reply to#1996
Dieter Britz wrote:

> On Thu, 22 Aug 2013 09:45:19 -0700, sfeam wrote:
> 
>> Dieter Britz wrote:
>> 
>>> On Tue, 20 Aug 2013 16:32:10 -0700, sfeam wrote:
>>> 
>>> [...]
>>>>> OK, so here is what I did, and what gnuplot said:
>>>>> 
>>>>> ...
>>>>> set xrange [0.87845758:0.87845769]
>>>>> set xtics  0.87845760, 0.00000005, 0.87845770 scale 2, 1 set
>>>>> mxtics 5 set ytics 1.1863, 0.0001, 1.1873 set xtics rotate by 90
>>>>> right ...
>>>>> 
>>>>>          line 0: undefined variable: right
>>>> 
>>>> So I take it this is a very old version of gnuplot?
>>>> If so, the most straightforward solution is to get a newer version.
>>> 
>>> OK, so I downloaded the up to date package, untarred it, and I get
>>> all this:
>>> 
>>> 
>>> aclocal.m4  configure.in   GNUmakefile  Makefile.in     PGPKEYS
>>> term BUGS        configure.vms  INSTALL      Makefile.maint  pm3d
>>> tutorial ChangeLog   Copyright      INSTALL.gnu  man
>>> PORTING VERSION CodeStyle   demo           install-sh   missing
>>> README      win config      depcomp        lisp        
>>> mkinstalldirs
>>> README.1ST config.hin  docs           m4           NEWS
>>> share configure   FAQ.pdf        Makefile.am  PATCHLEVEL      src
>>> 
>>> Now what do I do? I work under Suse 12.2 Linux. Do I simply type in
>>> ./install-sh ?
>> 
>> The command in question was introduced some time prior to the release
>> of
>> gnuplot version 4.6 (January 2012).  A quick search indicates that
>> there are plenty of SuSE packages for gnuplot 4.6, so you should be
>> fine using one of those.
>> 
>> If you do want to build from current CVS source, the minimal set of
>> commands is
>>   /prepare
>>  ./configure
>>   make
>> 
>> 
>>> Are there any traps, possible missing dependencies etc?
>> 
>> It is likely that the output from ./configure will indicate
>> additional development packages that would need to be installed in
>> order to include
>> support for specific terminal types or other features.  In other
>> words, you need to install many more packages to build gnuplot from
>> source than you need for simply running a pre-built executable.
>> 
>> Ethan
> 
> I have V. 4.4 running. What you write seems to imply
> that there is an easier way to update this. What might
> that be? Is there an rpm that would do the job in one
> hit?

Google for gnuplot + SuSE + 12.2 + rpm 

Here's one, but you may want a different flavor (i586/x86_64/etc)
http://pkgs.org/opensuse-12.2/opensuse-update-i586/gnuplot-4.6.0-3.4.2.i586.rpm.html

[toc] | [prev] | [standalone]


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


csiph-web