Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.1K Views
|
7 Replies
|
1 Total Like
View groups...
Share
Share this post:

Angular gauge scale displays fractions instead of decimals. How to get decimals only?

Posted 2 years ago
POSTED BY: Cory Haupt
7 Replies
Posted 2 years ago

Try this until you find the source of the trouble.

Put $Post=N at the beginning of your code. All subsequent calculations will be numeric.

Then put $Post=. at the end of the code to return to the default mode.

POSTED BY: Nelson Zink

Talking of decimal points, until a few versions ago GeoScaleBar gave integers as scale tags, as in

GeoGraphics[Entity["Country", "UnitedKingdom"], 
GeoScaleBar -> Placed["Kilometers", {Right, Top}]]

Now the numbers have decimal points, as in 100. km

I suppose the change is not intentional, because the example pictures in the documentation still show integers, until we re-evaluate.

POSTED BY: Gianluca Gorni
Posted 2 years ago
POSTED BY: Cory Haupt
Posted 2 years ago
POSTED BY: Nelson Zink
Posted 2 years ago

Thank you! This corrects the problem for now.

All the best!

POSTED BY: Cory Haupt
Posted 2 years ago

I'm on 13.1. I subscribe to a yearly subscription, but in their infinite wisdom, the folks at Wolfram stopped allowing yearly subscribers to update. I'm stuck on whatever version is available on the day I subscribe unless I pay for the support package. This is annoying because my renewal date is typically just before the major revision. With that off my chest, copying and pasting your code into 13.1 yields fractions for me. I very much appreciate the post!

All the best.

POSTED BY: Cory Haupt
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard