|
From: Hans-Bernhard B. <br...@ph...> - 2005-07-05 15:17:26
|
Chennupati, Balakrishna (HP Labs India) wrote: > The command "set terminal png transparent nocrop enhanced font arial 8 > size 1200,300" works in the windows version of GNUPlot 4.0. In the Linux > version 4.0, You're problem is right here: you speak of "the" Linux version, but such a thing doesn't exist. There exist versions of gnuplot compiled by various people, including Linux distributors. Some of them made rather sub-optimal configuration choices for their builds. > Why the difference? Because your Linux binary was built with the wrong PNG driver. You'll see the difference if you "show version long" on both platforms and check the "Compile options" part. > Please tell me if its possible to write code that's independent of > platform. gnuplot tries to keep scripts as platform-independent as possible, but the availability of terminal drivers and the options they support is where this ceases to work. "set terminal" commands essentially cannot be fully portable. |