CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Adjust the number size in the paraview Legend

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alberto

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2015, 09:33
Default Adjust the number size in the paraview Legend
  #1
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 12
wenxu is on a distinguished road
Dear Foamers,

Merry Christmas and Happy New Year!

Anyone knows how to adjust the numbers of the paraview legend? I want to use the same size for the number characters (i.g. 0, 0.0002....) AND I also want all of the numbers on the left size but not the minimum and maximum numbers on the right side. The typical legend in the paraview is attached.

Best regards,
Wen
Attached Images
File Type: png legend.png (13.6 KB, 41 views)
wenxu is offline   Reply With Quote

Old   December 25, 2015, 22:23
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
This has changed significantly in recent versions of paraview. What version are you using? In paraview 4.4, there is an option to edit fonts in the Color Map Editor -> Edit color legend properties (last button on the right of the Search box at the top of the Color Map Editor panel).
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   December 25, 2015, 22:36
Default
  #3
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 12
wenxu is on a distinguished road
Thank you very much! I am using paraview 4.1 and there is no edit button in the "Edit Color Legend Parameters" as attached.

Maybe I should transfer to the latest version of paraview. Is there a easier way to update the paraview software?

Have a nice day!

Best regards,
Wen
Attached Images
File Type: png 2015-12-26 11:35:16屏幕截图.png (35.8 KB, 78 views)
wenxu is offline   Reply With Quote

Old   December 25, 2015, 23:11
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
You probably find it packaged for your distribution. The paraFoam utility won't work, but you can open OpenFOAM files as follows:

1) Create an empty text file with .foam extension in the case directory: touch case.foam
2) Open paraview (not paraFoam), and open the case.foam file

You can then use paraview as usual.

Alternatively, you can upgrade to OpenFOAM 3.0.1 and paraview 4.4 is part of their ThirdParty package.
wenxu likes this.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03


All times are GMT -4. The time now is 08:28.