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

• To: mathgroup at smc.vnet.net
• Subject: [mg130861] Re: How to substitute decimal dot with decimal comma in plot ticks?
• From: Alexey Popkov <lehin.p at gmail.com>
• Date: Tue, 21 May 2013 04:22:07 -0400 (EDT)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com
• Delivered-to: l-mathgroup@wolfram.com
• Delivered-to: mathgroup-outx@smc.vnet.net
• Delivered-to: mathgroup-newsendx@smc.vnet.net
• References: <knerm2\$3n\$1@smc.vnet.net>

```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 at 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.

```

• Prev by Date: Re: setting highlight color and font size
• Next by Date: Unable to generate any initial points with NMaximize (or NMinimize)
• Previous by thread: Re: How to substitute decimal dot with decimal comma in plot ticks?
• Next by thread: Replacing spurious Abs