Aramis
December 17th, 2007, 01:46 PM
Dear all,
I have a very simple problem, and yet I cannot find a solution.
I have created a GnuPlot script with the following instructions:
set xtics ("Some Label" 0, "Another Such label = 500" 1, "And again
and again = 1000" 2, \
"There is more text = 2000" 3, \
"And even more here = 4000" 4, "Label must be chosen wisely = 8000" 5,
\
"Labels must mean somthing = 16000" 6, "Be self-explainatory = 32000"
7, \
"This one should not fit = 64000" 8)
set xtics rotate by -45
The code above is followed with plot instructions that assign
numerical values to each of the defined labels. You can see the actual
output at the following URL : link (http://www.dcs.napier.ac.uk/~cs205/_x-axis_problem.png)
As you can see the last label does not appear in full in the image,
and thus my question is simple:
what is the procedure that I must follow to prevent this problem.
Here are the instructions that use to save the plot as a PNG file, but
please note that the axis is cropped even in the default terminal ( I
would have assumed that the default output window would auto-stretch
to fit the plot but no :( )
set term png size 1024, 768 font "Arial.ttf" 12
set output "_x-axis_problem.png"
Thank you for reading this message.
Ar@mi$ - Researcher in desper
I have a very simple problem, and yet I cannot find a solution.
I have created a GnuPlot script with the following instructions:
set xtics ("Some Label" 0, "Another Such label = 500" 1, "And again
and again = 1000" 2, \
"There is more text = 2000" 3, \
"And even more here = 4000" 4, "Label must be chosen wisely = 8000" 5,
\
"Labels must mean somthing = 16000" 6, "Be self-explainatory = 32000"
7, \
"This one should not fit = 64000" 8)
set xtics rotate by -45
The code above is followed with plot instructions that assign
numerical values to each of the defined labels. You can see the actual
output at the following URL : link (http://www.dcs.napier.ac.uk/~cs205/_x-axis_problem.png)
As you can see the last label does not appear in full in the image,
and thus my question is simple:
what is the procedure that I must follow to prevent this problem.
Here are the instructions that use to save the plot as a PNG file, but
please note that the axis is cropped even in the default terminal ( I
would have assumed that the default output window would auto-stretch
to fit the plot but no :( )
set term png size 1024, 768 font "Arial.ttf" 12
set output "_x-axis_problem.png"
Thank you for reading this message.
Ar@mi$ - Researcher in desper