firemodels / smv

Smokeview
Other
45 stars 177 forks source link

Colour bar decimal #2055

Closed ShehabGamrah closed 1 month ago

ShehabGamrah commented 1 month ago

{E254689B-927B-4B9F-BE8C-9341F8EFE564}

How can I remove decimals from a colour bar and also the number of intervals.

drjfloyd commented 1 month ago

Dialogs -> Files/Data/Coloring Pick the coloring menu

There are some options for the formating of numbers there.

I don't know if there is some ini file option where you can change the number of intervals. Glenn would know that.

ShehabGamrah commented 1 month ago

I have tried them but no luck

gforney commented 1 month ago

sorry, there is not an option to remove the decimal - only an option to change the number of digits

ShehabGamrah commented 1 month ago

{5036B84B-4174-41A6-B09C-8AA4DEF411F6} Is there a way to reduce the number on the bar, cause I can't find it.

gforney commented 1 month ago

if by reduce the number if you mean change the min and max values , then yes. open the Files/Data/Coloring dialog box. then open the tab of interest (boundary, slice Particle etc). then set the min and max bounds.

if you mean reduce the number of numbers on the colorbar then no. there is not an option to do that.

On Fri, Oct 4, 2024 at 1:29 PM ShehabGamrah @.***> wrote:

5036B84B-4174-41A6-B09C-8AA4DEF411F6.png (view on web) https://github.com/user-attachments/assets/2c296b4c-3959-42c8-ae26-759b2566e664 Is there a way to reduce the number on the bar, cause I can't find it.

— Reply to this email directly, view it on GitHub https://github.com/firemodels/smv/issues/2055#issuecomment-2394204761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UCRWQTECHBL3S2BWHWKDZZ3F6TAVCNFSM6AAAAABPMHICGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUGIYDINZWGE . You are receiving this because you were assigned.Message ID: @.***>

-- Glenn Forney

gforney commented 1 month ago

fyi: I modified smokeview so that if only zeros occur to the right of the decimal, smokeview will remove the decimal and the trailing zeros