Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.2K 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
Posted 2 years ago

Thank you! This corrects the problem for now.

All the best!

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

I thought it might as well.

POSTED BY: Cory Haupt

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

I get decimals with this code and version 13.3:

AngularGauge[.2, {-1., 10.0}, ScaleOrigin -> {Pi, 0.0}, 
 ScaleRanges -> {{-1.0, .49} -> Green, {.5, 10.} -> Red},
 GaugeLabels -> "Sahm Rule Recession Ind."]
POSTED BY: Gianluca Gorni
Posted 2 years ago
POSTED BY: Cory Haupt
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard