CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   annotations size of cube axes (http://www.cfd-online.com/Forums/paraview/124324-annotations-size-cube-axes.html)

Puigar October 2, 2013 07:02

annotations size of cube axes
 
Hi,

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

http://s13.postimg.org/wnk01f0w7/Re060_Inc0.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?

wyldckat October 5, 2013 03:27

4 Attachment(s)
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

Puigar October 7, 2013 05:22

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

wyldckat October 7, 2013 16:35

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: http://www.cfd-online.com/Forums/ope...tml#post452288 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

Puigar October 9, 2013 05:07

Dear wyldckat,

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

Best regards!!

Puigar

wyldckat October 28, 2013 17:58

FYI: I was looking for more information on the "cube axes" and found this just now: http://paraview.uservoice.com/forums...rmat-cube-axes

katakgoreng June 4, 2014 11:03

4 Attachment(s)
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 June 5, 2014 15:43

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 (Post 495571)
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


katakgoreng June 5, 2014 18:14

Quote:

Originally Posted by cheng1988sjtu (Post 495811)
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..


All times are GMT -4. The time now is 10:26.