Rajil Saraswat wrote: > Thanks for the script, but the problem still remains. Using your scripts > the > images are still rotated and bounding box gets a lot of white space. I am > attaching a en eps file for you to look it. It is a plain sin plot done in > gnuplot.
The problem lies in the line %%Orientation: Landscape of the resulting .eps file. Some programs interpret this as "This page has to be rotated by 90 degrees in order to print out in landscape orientation". Others interpret it as "This page is in landscape orientation already". If you remove the line, the figure is also turned in gv. It seems that lyx and latex use the second interpretation, and gv and gnuplot use the first one. BTW, this same interpretation mismatch has caused a lot of trouble with an older CUPS version. Fortunately the workaround in your case is easy: Just turn every gnuplot figure in lyx by 270 degrees (right click on the figure), then everything is alright. Georg
