CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   View Sampling Results (

Smed December 19, 2011 12:40

View Sampling Results
Hi, I'm using the "sample" utility to plot my output. I set the format to gnuplot which creates .gplt files. When I execute "gnuplot data.gplt", a .ps file is created, but the plot itself isn't shown. I then have to open the .ps file in order to see my plot. Is there a way to avoid this extra step and simply display the plot with gnuplot?


markusrehm January 4, 2012 05:21

Hello Smed,

this is a gnuplot issue. Have a look at the switch "terminal" which defines the output for gnuplot.

I use the command

set terminal postscript color landscape
to set the output to ps. Somehow your default might have changed to postscript.

Regards, Markus.

All times are GMT -4. The time now is 07:57.