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


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

Re: How to substitute decimal dot with decimal comma in

Started byTomas Garza <tgarza10@msn.com>
First post2013-05-21 04:03 +0000
Last post2013-05-21 04:03 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to substitute decimal dot with decimal comma in Tomas Garza <tgarza10@msn.com> - 2013-05-21 04:03 +0000

#14565 — Re: How to substitute decimal dot with decimal comma in

FromTomas Garza <tgarza10@msn.com>
Date2013-05-21 04:03 +0000
SubjectRe: How to substitute decimal dot with decimal comma in
Message-ID<knerln$3e$1@smc.vnet.net>
Try the following example:
ListPlot[Table[j,{j,0.5,10,1}]]
Define the ticks as strings (check the online Help for Ticks in the details section). Use StringReplace (cf. the online Help browser) to change the dot for a comma on each of them:
tks=Table[j,{j,0.5,10,1}];
ListPlot[Table[j,{j,0.5,10,1}],Ticks->{Transpose[{tks,StringReplace[#,"."->","]&/@ToString/@tks}],Automatic}]
-Tomas



> From: igor.kotelnikov@gmail.com
> Subject: How to substitute decimal dot with decimal comma in Plot ticks?
> To: mathgroup@smc.vnet.net
> Date: Mon, 20 May 2013 05:05:12 -0400
>
> Is it possible to substitute decimal dots by decimal commas on Plot axes? I need to make that substitution in all routines (Plot, LogPlot, LogLogPlot, e.t.c.) at ones since in my native language decimal comma is used instead of decimal dot as it is in English.
>
 		 	   		  

[toc] | [standalone]


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


csiph-web