Labels on minor tics

  • Follow


I've xtics being read from an input file.
Here gnuplot by default puts two minor tics in between the majors.

set xdata time
set timefmt "%Y-%m-%d"
set format x "%Y-%b-%d"

I've also x2tics and mx2tics generated as follows:

set x2tics
set mx2tics 4
set x2range [30774 : 40592]

Problem: I need labels on the minor tics in both cases.

How can I do that? I would appreciate some help. Thanks!
0
Reply MamboKnave 2/21/2011 3:36:22 AM

MamboKnave wrote:

> I've xtics being read from an input file.
> Here gnuplot by default puts two minor tics in between the majors.
> 
> set xdata time
> set timefmt "%Y-%m-%d"
> set format x "%Y-%b-%d"
> 
> I've also x2tics and mx2tics generated as follows:
> 
> set x2tics
> set mx2tics 4
> set x2range [30774 : 40592]
> 
> Problem: I need labels on the minor tics in both cases.
> 
> How can I do that? I would appreciate some help. Thanks!

So far as I know, there is no way to put labels on minor tics.

	Ethan
0
Reply sfeam 2/21/2011 6:58:59 AM


On Feb 20, 10:58=A0pm, sfeam <sf...@users.sourceforge.net> wrote:
>
> So far as I know, there is no way to put labels on minor tics.
>

:-(

0
Reply MamboKnave 2/21/2011 6:23:10 PM

On Mon, 21 Feb 2011 10:23:10 -0800, MamboKnave wrote:
> On Feb 20, 10:58 pm, sfeam <sf...@users.sourceforge.net> wrote:
>>
>> So far as I know, there is no way to put labels on minor tics.

> :-(

Would it work for you to suppress the minor tics
(perhaps with 'set xtics scale 0' or whatever the
right syntax is), and cut down the major tic spacing?

-- 
jiw
0
Reply James 2/21/2011 8:02:04 PM

On 21.02.2011 04:36, MamboKnave wrote:
> I've xtics being read from an input file.

Do you?  I ask because if you're reading ticks from a file, what is this:

> set format x "%Y-%b-%d"

supposed to do?

> Problem: I need labels on the minor tics in both cases.

No such thing.  A tick with a label is a major tic by definition.
0
Reply ISO 2/21/2011 9:44:52 PM

4 Replies
502 Views

(page loaded in 0.141 seconds)

Similiar Articles:











7/23/2012 10:09:38 AM


Reply: