|
From: Dmitry <unk...@gm...> - 2026-05-25 13:28:29
|
Hi everyone,
I am trying to increase the font size in my plots so that they remain
readable when combined into a multi-plot grid for an article.
Here is a minimal example of my Gnuplot script:
> set terminal tikz noclip tightboundingbox standalone size 8cm,11cm
> set output 'test.tex'
>
> set grid
> set xrange [0:10]
>
> set key outside right top horizontal Left reverse keywidth graph 1.0
> samplen 1
> set tics font ",24"
> set xlabel font ",24\"
> set ylabel font ",124"
> plot \
> cos(x) notitle lc rgb "red" dashtype 2
The problem is that this script produces a plot with misaligned tick
labels (please see the attachment). The numbers along both the X and Y
axes are shifted upwards.
I managed to find a workaround online by changing the terminal settings:
> set terminal tikz noclip tightboundingbox standalone size 8cm,11cm
> charsize 0.4,0.8 preamble '\tikzset{gp node right/.style={anchor=east,
> align=right, font=\large, inner sep=0pt, outer sep=0pt}}'
However, I have some concerns: is it possible that using a non-standard
|charsize| and redefining the |\tikzset| style could break other
elements of the plot, such as shifting error bars or other elements?
Thanks!
|