I am plotting some data and I'd like to make the values (the numbers)
for X and Y bigger. Otherwise when I put this figure in a latex file
then it appears that the values on X and Y axis are too small to read.
Any idea how I can change this size?
A prompt response will be highly appreciated!
Cheers,
Reza
Hi,
Not sure I understand the question properly.
Anyway... if you have the X and Y values in 2 columns in a file data.txt
Then plotting "normally" could be:
plot "data.txt" using 1:2 with lines
You can easily make the values of X and Y bigger by multiplying like this:
plot "data.txt" using ($1*5):($2*5) with lines
This makes the values 5 times bigger.
Is that want you want?
Cheers,
Peter
Thanks for your reply!
What I want to know, it's not this issue. When I plot, at the end it
label X and Y with some number e.g X= -10, 5, 0, 5,10 (depends on data
range, ticks etc) but in any case you have some number appears on your
X and Y axis. I want to change the size of these numbers NOT the
scale of figure.
I hope I have been more clear now!
>
> What I want to know, it's not this issue. When I plot, at the end it
> label X and Y with some number e.g X= -10, 5, 0, 5,10 (depends on data
> range, ticks etc) but in any case you have some number appears on your X
> and Y axis. I want to change the size of these numbers NOT the scale of
> figure.
>
> I hope I have been more clear now!
> Reza
Hi again,
You can specifiy the font size of the numbers shown against the x and y
axis tics.
To specify the default font size 6:
set xtics font ',6'
set ytics font ',6'
or with a specific font - Helvetica & Courier are installed on my PC:
set xtics font 'Helvetica,6'
set ytics font 'Courier,6'
Cheers,
Peter