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


Groups > comp.soft-sys.math.mathematica > #14568

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

From Alexey Popkov <lehin.p@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to substitute decimal dot with decimal comma in plot ticks?
Date 2013-05-21 08:21 +0000
Message-ID <knfaqc$228$1@smc.vnet.net> (permalink)
References <knerm2$3n$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web