Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1427
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: user defined xtics and mxtics |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2012-10-23 23:05 -0700 |
| Organization | gnuplot development team |
| Message-ID | <k680el$j00$1@dont-email.me> (permalink) |
| References | <87ehkpez2g.fsf@panzer.v.cablecom.net> <k6745r$gub$1@dont-email.me> <87r4ooh2mf.fsf@lagrange.campus.intern> |
Followups directed to: comp.graphics.apps.gnuplot
Fab wrote:
> sfeam <sfeam@users.sourceforge.net> writes:
>
>> Fab wrote:
>>
>>> Dear All
>>>
>>> I read in the Gnuplot info's, that when I define my own xtics, I can
>>> not use mxtics, which makes sense.
>>
>> That's not quite right. You can define both tics and mtics manually.
>> But you cannot define tics and have the program insert mtics
>> automatically between them.
>>
> Indeed, I was not precise here!
>
>>> However, especially in LaTeX terminals,
>>> it is sometimes needed to redefine the axis label (actually only the
>>> label and not the tics). Is it somehow possible to define xtics and
>>> mxtics the usual way but then change only the axis label, leaving
>>> the tics as they are?
>>
>> Certainly.
>> set xtics ("One" 1, "Two" 2, "Three" 3)
>> set xlabel "My favorite label"
>>
>> But maybe you are asking something else?
>> For LaTeX output you often want to set a LaTeX format for the tic
>> labels:
>> set xtics format "$%g$"
>>
> My problem is the following: I have a plot with log x-axis. When I
> use the format specifier for scientific notation, LaTeX will typeset
> this as
> such (with the e-01, etc. notation). However, I would like to have
> xtic labels like $10^{-1}$
set format '$ %.2t10^{%T}$'
> , hence I set them manually. But, for a log plot
> I would also like the minor xtics to indicate the scale between the
> decades. But I can not use xmtics in this case. Do I also have to
> create an array for the minor xtics? I would like to have the xmtics
> with half the ticlength of the major xtics. How would you do it?
set tics scale 1.0, 0.5
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
user defined xtics and mxtics Fab <fab4100@gmail.com> - 2012-10-23 22:03 +0200
Re: user defined xtics and mxtics sfeam <sfeam@users.sourceforge.net> - 2012-10-23 15:02 -0700
Re: user defined xtics and mxtics Fab <fab4100@gmail.com> - 2012-10-24 07:15 +0200
Re: user defined xtics and mxtics sfeam <sfeam@users.sourceforge.net> - 2012-10-23 23:05 -0700
Re: user defined xtics and mxtics Fab <fab4100@gmail.com> - 2012-10-24 13:16 +0200
Re: user defined xtics and mxtics Ingo Thies <ingo.thies@gmx.de> - 2012-10-24 22:24 +0200
Re: user defined xtics and mxtics sfeam <sfeam@users.sourceforge.net> - 2012-10-24 17:23 -0700
Re: user defined xtics and mxtics Cristian Camilo Mejia <cc.mejia@gmail.com> - 2013-04-23 14:04 -0700
Re: user defined xtics and mxtics Cristian Camilo Mejia <cc.mejia@gmail.com> - 2013-04-23 14:07 -0700
csiph-web