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


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

Re: Tic marks

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Dieter Britz <dieterhansbritz@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Tic marks
Date Mon, 18 Feb 2013 10:13:09 +0000 (UTC)
Organization A noiseless patient Spider
Lines 53
Message-ID <kfsurl$4on$1@dont-email.me> (permalink)
References <kflipp$vq2$2@dont-email.me> <kfliuf$vq2$3@dont-email.me> <kflkf8$ai0$1@dont-email.me> <kfsss8$scf$1@dont-email.me> <kfst8p$ubq$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Mon, 18 Feb 2013 10:13:09 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="ac27bc306e2949aa06a7f4657450a20d"; logging-data="4887"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uQwoEUe5Xvnf08oTUdJp/jenvQtNLNl8="
User-Agent Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master)
Cancel-Lock sha1:mBC1kSEnFzMsnwlKUq7QJNB5fMM=
Xref csiph.com comp.graphics.apps.gnuplot:1647

Show key headers only | View raw


On Mon, 18 Feb 2013 09:46:01 +0000, Dieter Britz wrote:

> On Mon, 18 Feb 2013 09:39:20 +0000, Dieter Britz wrote:
> 
>> On Fri, 15 Feb 2013 16:33:41 +0100, Christoph Bersch wrote:
>> 
>>> 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
>> 
>> Thanks, but the tic marks at the numbers are the same size as all the
>> others. Can they not be made bigger?
> 
> Found it out, scale 2,1. I should have known.

One more question:
I want a line at y = 0, so I added

set xzeroaxis

to the code. But there is none. Do the above commands somehow
block a zero line?

-- 
Dieter Britz

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


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