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


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

Re: Tic marks

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Tic marks
Date 2013-02-15 16:33 +0100
Organization A noiseless patient Spider
Message-ID <kflkf8$ai0$1@dont-email.me> (permalink)
References <kflipp$vq2$2@dont-email.me> <kfliuf$vq2$3@dont-email.me>

Show all headers | View raw


Am 15.02.2013 16:06, schrieb Dieter Britz:
> On Fri, 15 Feb 2013 15:04:25 +0000, Dieter Britz wrote:
>
>> I have some data where the x-axis is years. The range is [1989:2013].
>>
>> I would like to have year numbers like 1990, 2000, 2010 with large tics
>> at these numbers, but small tics for the whole range, as I would get
>> with
>>
>> xtics 1989, 1, 2013
>
> There is another problem. I once asked here about colouring
> a plot, and got a recipe, which works fine. However, it seems
> to erase tic marks. For example, I have
>
> set xtics 1990, 5, 2010
> set ytics 0, 100, 300
> set obj rect from graph 0, graph 0 to graph 1, graph 1 back \
>      fc rgb '#FFEFD5' fillstyle solid 0.5
>
> and the numbers come out on both axes, but no tic marks. Is
> this an effect of the set obj line?

set tics front
set xtics 1990, 5, 2010 scale 1,1
set mxtics 5
set ytics 0, 100, 300
set obj rect from graph 0, graph 0 to graph 1, graph 1 back \
      fc rgb '#FFEFD5' fillstyle solid 0.5

This should solve both problems.

Christoph

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


Thread

Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-15 15:04 +0000
  Re: Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-15 15:06 +0000
    Re: Tic marks Christoph Bersch <usenet@bersch.net> - 2013-02-15 16:33 +0100
      Re: Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-18 09:39 +0000
        Re: Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-18 09:46 +0000
          Re: Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-18 10:13 +0000
            Re: Tic marks Christoph Bersch <usenet@bersch.net> - 2013-02-18 11:35 +0100
              Re: Tic marks Dieter Britz <dieterhansbritz@gmail.com> - 2013-02-18 12:58 +0000

csiph-web