CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

annotations size of cube axes

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

Like Tree1Likes
  • 1 Post By katakgoreng

Reply
 
LinkBack Thread Tools Display Modes
Old   October 2, 2013, 07:02
Default annotations size of cube axes
  #1
New Member
 
Albert Puig
Join Date: Jul 2012
Posts: 23
Rep Power: 4
Puigar is on a distinguished road
Hi,

I have a contour of streamlines in paraview which its cube axes are detailed like this png:



I am not able to rescale the plot annotations to a larger number, so that it can be correctly seen.

How can I do it?, is there another way?
Puigar is offline   Reply With Quote

Old   October 5, 2013, 03:27
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,088
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Albert,

As shown in the attached images, in order:
  1. You can configure the axis and title options in that button on the right with the red circleish indication, or from the menu "View" ... oops, no, it's on the "Edit -> View Settings" menu.
  2. On the second image is where you can configure the font size for the numbers on the left axis. There is a limitation for the font size: it will not render the characters in an overlapping way. For example, if you set the font size to 72, it will restrain to 20 if there is more than 15 items on the axis.
  3. On the third image is where you can control the number and representation mode of the values on the left axis. You can reduce the number of represented values, by using the option "Specify Each of the Axis Labels."
  4. On the forth image is where you can control the title of the axis and the size of the font for that title.
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 7, 2013, 05:22
Default
  #3
New Member
 
Albert Puig
Join Date: Jul 2012
Posts: 23
Rep Power: 4
Puigar is on a distinguished road
hi, Wyldckat

When I just click the view settings of your first picture, I just don't get the "axis" properties, I just get:
- general
- Lights
- Annotation

I don't get anything related on the plot axis, because i don't really use any plot. I just use annotations of the cube axes option, which is placed on the properties tab from my displayed streamline domain.
Then I edit the axes of the annotations by clicking 'Edit' option of the cube axes placed on the same properties tab, I can change the font and axis color, the range numbers, the tick and minor tick display and the like, but I am not able to find an option which gets me to increase the font size of the number annotations of the axis.

Thanks anyway for your reply!

Puigar
Puigar is offline   Reply With Quote

Old   October 7, 2013, 16:35
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,088
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Puigar,

Oh, from the image you had posted, it looked like it was a 2D plot.

Unfortunately in 3D, using the "Cube Axes" feature, it's not possible to change the sizes of the numbers and title. They are automatically calculated/scaled, in this part of the code: https://github.com/Kitware/VTK/blob/...source=c#L1593

This is a similar issue to the one described here: Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 post #60
But in that case, there was a way to workaround it, but for the cube axes, there isn't one.


All I can do is suggest that you make a request for this capability here: http://www.vtk.org/Bug/my_view_page.php

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 9, 2013, 05:07
Default
  #5
New Member
 
Albert Puig
Join Date: Jul 2012
Posts: 23
Rep Power: 4
Puigar is on a distinguished road
Dear wyldckat,

Thank you for your reply, I'll consider your suggestion.

Best regards!!

Puigar
Puigar is offline   Reply With Quote

Old   October 28, 2013, 17:58
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,088
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
FYI: I was looking for more information on the "cube axes" and found this just now: http://paraview.uservoice.com/forums...rmat-cube-axes
wyldckat is offline   Reply With Quote

Old   June 4, 2014, 11:03
Default
  #7
Member
 
Join Date: Dec 2009
Posts: 38
Rep Power: 6
katakgoreng is on a distinguished road
For the annoying axis issue (font overlapping), what I usually do is:

1) Scale everything by a factor (for example 2) - this will also scale the axis by factor of 2
2) Go to Edit Cube Axes Properties and use custom range to get the original axis scale

Hope this helps.

Cheers,
katakgoreng
Attached Images
File Type: jpg overlapping.jpg (14.1 KB, 25 views)
File Type: png overlapping2.png (10.1 KB, 23 views)
File Type: jpg overlappingCustomRange.jpg (26.2 KB, 24 views)
File Type: jpg overlappingAxis.jpg (13.2 KB, 24 views)
wyldckat likes this.
katakgoreng is offline   Reply With Quote

Old   June 5, 2014, 15:43
Default
  #8
Member
 
Charlie
Join Date: Dec 2010
Location: 415 Kinross Dr. Newark, DE 19711
Posts: 72
Rep Power: 5
cheng1988sjtu is on a distinguished road
Hi Katakgoreng,

Which paraview version do you use? if I did as you described, I can only get half shown in each direction...

Quote:
Originally Posted by katakgoreng View Post
For the annoying axis issue (font overlapping), what I usually do is:

1) Scale everything by a factor (for example 2) - this will also scale the axis by factor of 2
2) Go to Edit Cube Axes Properties and use custom range to get the original axis scale

Hope this helps.

Cheers,
katakgoreng
cheng1988sjtu is offline   Reply With Quote

Old   June 5, 2014, 18:14
Default
  #9
Member
 
Join Date: Dec 2009
Posts: 38
Rep Power: 6
katakgoreng is on a distinguished road
Quote:
Originally Posted by cheng1988sjtu View Post
Hi Katakgoreng,

Which paraview version do you use? if I did as you described, I can only get half shown in each direction...
I'm using Paraview 4.1.0 64bit..
katakgoreng 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
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 17 August 22, 2009 03:59
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 09:31.