Skip to main content
11 events
when toggle format what by license comment
Sep 10, 2016 at 16:33 vote accept user3769181
Sep 10, 2016 at 16:33 comment added user3769181 Alright, fantastic. This works well. Thank you so much!
Sep 10, 2016 at 16:26 comment added bbgodfrey @user3769181 The function {#, NumberForm[#, {∞, n}]} & /@ N@d maps each element of N@d (which is a list of the locations of the ticks), into a list of locations and formatted tick labels (the list of pairs enclosed in (* *) in the answer). Review the documentation of Map for details. Later, Plot puts each tick label at the corresponding tick location. Review the documentation of Ticks for details.
Sep 10, 2016 at 16:19 comment added user3769181 I think maybe I just didn't understand what's happening in the function. It's starting to make sense; what is # doing?
Sep 10, 2016 at 15:55 comment added bbgodfrey @user3769181, n is computed in the function ticks. (Or, do I misunderstand your comment?)
Sep 10, 2016 at 15:52 comment added user3769181 Thank you! Then my only issue is generating that number (n, or 3) of decimal places. This is actually inside a loop that generates 36 graphs; how can I automate determining how many decimal places to make? Some graphs need 2, 3, or 4 decimal places.
Sep 10, 2016 at 15:15 history edited bbgodfrey CC BY-SA 3.0
added 3 characters in body
Sep 10, 2016 at 15:00 history edited bbgodfrey CC BY-SA 3.0
used Module
Sep 10, 2016 at 14:48 history edited bbgodfrey CC BY-SA 3.0
added Output
Sep 10, 2016 at 14:43 history edited bbgodfrey CC BY-SA 3.0
added Output
Sep 10, 2016 at 14:36 history answered bbgodfrey CC BY-SA 3.0