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


Groups > comp.soft-sys.math.mathematica > #14558 > unrolled thread

Re: How to substitute decimal dot with decimal comma in plot ticks?

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-05-21 04:03 +0000
Last post2013-05-21 08:21 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: How to substitute decimal dot with decimal comma in plot ticks? Bill Rowe <readnews@sbcglobal.net> - 2013-05-21 04:03 +0000
    Re: How to substitute decimal dot with decimal comma in plot ticks? Alexey Popkov <lehin.p@gmail.com> - 2013-05-21 08:21 +0000

#14558 — Re: How to substitute decimal dot with decimal comma in plot ticks?

FromBill Rowe <readnews@sbcglobal.net>
Date2013-05-21 04:03 +0000
SubjectRe: How to substitute decimal dot with decimal comma in plot ticks?
Message-ID<knerm2$3n$1@smc.vnet.net>
On 5/20/13 at 5:04 AM, igor.kotelnikov@gmail.com (Igor A. Kotelnikov)
wrote:

>I need to substitute decimal dot by decimal comma in plot ticks by
>default. How to do that for all plotting functions such as Plot,
>LogPlot, LogLogPlot e.t.c.?

On a global basis this can be done by selecting the Appearance
tab in preferences. In that tab click on Numbers and Formatting,
then there will be menu selector for choosing either a period or
comma as the decimal point character. But do not, selecting
comma here affects everywhere Mathematica displays numbers and
is not just limited to plotting functions.

[toc] | [next] | [standalone]


#14568

FromAlexey Popkov <lehin.p@gmail.com>
Date2013-05-21 08:21 +0000
Message-ID<knfaqc$228$1@smc.vnet.net>
In reply to#14558
Good point!

One can set preferences locally using Style:

Style[Plot[Sin[x], {x, 0, 6 Pi}], NumberPoint -> ","]

Another option is to use BaseStyle:

Plot[Sin[x], {x, 0, 6 Pi}, BaseStyle -> NumberPoint -> ","]

or TicksStyle:

Plot[Sin[x], {x, 0, 6 Pi}, TicksStyle -> NumberPoint -> ","]

All the above methods allow to display commas in axes ticks instead of periods.

HTH,
Alexey



On Tuesday, May 21, 2013 8:03:14 AM UTC+4, Bill Rowe wrote:
> On 5/20/13 at 5:04 AM, igor.kotelnikov@gmail.com (Igor A. Kotelnikov)
> 
> wrote:
> 
> 
> 
> >I need to substitute decimal dot by decimal comma in plot ticks by
> 
> >default. How to do that for all plotting functions such as Plot,
> 
> >LogPlot, LogLogPlot e.t.c.?
> 
> 
> 
> On a global basis this can be done by selecting the Appearance
> 
> tab in preferences. In that tab click on Numbers and Formatting,
> 
> then there will be menu selector for choosing either a period or
> 
> comma as the decimal point character. But do not, selecting
> 
> comma here affects everywhere Mathematica displays numbers and
> 
> is not just limited to plotting functions.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web