Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-12-07 12:54:14

mihe
Member
From: Andritz Hydro Sweden
Registered: 2008-04-08
Posts: 211

Number of labels in colorbar [SOLVED]

Hi,
In Salome mecca 2017 it was possible to control the number of label in the color bar. By setting discrete number of colors to for example 10 and then max  number of lables to 11 one could then achieve a color bar with tickmarks and lables between all colors. See attached picture.

-In Salome mecca 2019 I can not find out how to control this. Is it possible?

BR/Micke

Last edited by mihe (2020-01-03 23:12:31)


Attachments:
2017.png, Size: 309.16 KiB, Downloads: 38

Salome Meca 2017 and  2019 on Ubuntu 18

Offline

#2 2019-12-08 13:18:40

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 187

Re: Number of labels in colorbar [SOLVED]

Hello Micke,
I was also looking for this option but it seems it doesn't exist anymore: discourse.paraview.org/t/how-to-control-number-of-ticks-in-color-legend/780

Konyaro


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#3 2019-12-12 19:04:05

cbourcier
Member
Registered: 2007-11-20
Posts: 61

Re: Number of labels in colorbar [SOLVED]

Hi,

You can use "Automatic annotations" for this purpose. Then disable tick marks and ticks labels.

See the screenshot in attachment.

Christophe


Attachments:
colorbar_labels.png, Size: 208.39 KiB, Downloads: 38

Offline

#4 2020-01-03 23:11:54

mihe
Member
From: Andritz Hydro Sweden
Registered: 2008-04-08
Posts: 211

Re: Number of labels in colorbar [SOLVED]

Thank you!


Salome Meca 2017 and  2019 on Ubuntu 18

Offline