CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Adjust the number size in the paraview Legend

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By alberto

Reply
 
LinkBack Thread Tools Display Modes
Old   December 24, 2015, 10:33
Default Adjust the number size in the paraview Legend
  #1
Senior Member
 
MultiComb
Join Date: May 2014
Posts: 198
Rep Power: 4
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, 11 views)
wenxu is offline   Reply With Quote

Old   December 25, 2015, 23:23
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,910
Rep Power: 27
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.
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, 23:36
Default
  #3
Senior Member
 
MultiComb
Join Date: May 2014
Posts: 198
Rep Power: 4
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, 16 views)
wenxu is offline   Reply With Quote

Old   December 26, 2015, 00:11
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,910
Rep Power: 27
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.
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Native Meshers: snappyHexMesh and Others 50 March 7, 2016 03:35
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 10 November 5, 2014 22:14
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21


All times are GMT -4. The time now is 01:39.