CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   How to generate good quality figures from cfx-post (

Ken June 1, 2006 14:08

How to generate good quality figures from cfx-post
Hi, all

Can someone provide tips of generating good quality figures from cfx-post for publication?

The default legend is too small. Either screen printing or printing as JPEG gives bad quality figures. The legend and the numbers are hard to read.



Joe June 1, 2006 14:44

Re: How to generate good quality figures from cfx-
The legend can be extensively modified: View control > Default legend.

Print > Uncheck screen size and set as high a resolution as you need. Increase JPG quality as needed or output as postscipt (i.e. vector image)

Robin June 1, 2006 15:06

Re: How to generate good quality figures from cfx-
When generating images for publication, keep in mind that the print resolution for a magazine is typically 200 to 300 dpi, which is 2x to 3x times greater than your monitor. So, what looks good on your screen will look lousy in print (or very small).

As Joe suggests, set the pixel width manually (or specify 200% or 300% of screen size). To calculate the pixel width, find out how big the printed image needs to be then multiply the horizontal and vertical dimensions by the dpi count. For example, if you want a 2"x3" image at 300 dpi, you will need to generate a plot at 600x900 pixels. If your generating an image to print on the front page of a magazine, 8"x10", you will need 2400x3000 pixels.

For images out of Post, I would never use anything other than PNG. It will usually give you the best compression and is completely lossless. If you use JPEG compression, your image will look like crap. PNG uses a similar compression algorithm to GIF, but supports millions of colors (whereas GIF only supports 256).

If you are using version 5.7 or later, the "High Quality" output option will be on by default. I recommend leaving this on. This will anti-alias your plot, making lines, vectors, text, etc. appear smooth. It does this by internally generating the image at twice the size, then resampling the image at the desired resolution. Anti-aliasing will cost you a little on compression (due to more variations in color), but makes for a much sharper looking image.

Finally, images with a white background generally look more professional (or to a lesser degree the default blue to white gradient). There is a "white background" option on the print settings and I recommend using it.

Regards, Robin

Joe June 1, 2006 15:43

Re: How to generate good quality figures from cfx-
Does Yehuda Sinai still work @ CFX?

Ken June 1, 2006 17:19

Re: How to generate good quality figures from cfx-
Thanks a lot, Joe and Robin.

A new problem I am getting is that, when I increase the text height to above 0.02, the title of legend will cover the numbers or get too close to the numbers. How to solve this problem?

Best regards,


Poldu June 1, 2006 17:26

Re: How to generate good quality figures from cfx-
Can you do this macros so that you are sure the same plotting option is used for each plot of each simulation. A paper refused my work because the legend/axis/font were not exactly the same for each plot.

Can't you write a journal file for this?

It is important to be rigorous.


Joe June 1, 2006 17:34

Re: How to generate good quality figures from cfx-
Change text justification to none, then you get access to the position dialog boxes and can enter any value you want.

Come on, its not rocket science ...

Robin June 2, 2006 08:26

Re: How to generate good quality figures from cfx-
You can easily reuse the same state. It also helps if you always specify the image size in pixels, rather than use the screen size.


yahya_a June 8, 2012 04:11

i use ansys 13 and in the CFX-Post i dont have "default legend view"
what should i do?

And it is inactive when i right click

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