2017-11-20 6 views
0

라텍스 문서 내부에서 다음 gnuplot 스크립트가 있습니다. 다른 라벨의 글꼴 크기를 변경하고 싶습니다. 하지만 글꼴 크기를 변경하지 않습니다, 거기에 어떤 제안이있다. 당신이 라텍스를 사용한다 라텍스 기반 터미널의 경우라텍스에서 gnuplot의 라벨 크기가 변경되지 않습니다

\begin{gnuplot}[terminal=cairolatex, terminaloptions = {size 8cm, 6cm}] 
    reset 
    set yrange [0.01: 10000000000.0] 
    set xtics rotate by 45 right nomirror 
    set grid ytics 
    unset border 
    set title "(a)" 
    set macros 
    set key top horizontal center 
    set logscale y 
    set format y "$ 10^{%L} $" 
    set label 1 "Variation :" at 771, 680.0 center font "Bold-Times-Roman,24" 
    set label 2 "Variation in IPC" at 671, 7 center tc lt 1 font "Bold-Times-Roman,30" 
    set xlabel "Ticks" offset 0.5,0 font "Bold-Times-Roman,30" 
    set ylabel "Vulnerability [bit*cycle]" offset 2.5,0 font "Bold-Times-Roman,30" 

    #plot from file 
    plot '../gnudata/matlab_fft/smatlab_ipc.txt' using 1:2 title 'IPC' with line linecolor rgb "blue" lw 3 

\end{gnuplot} 

답변

1

글꼴 및 글꼴 스타일을 제어하는 ​​명령 : 당신은 터미널 드라이버에 옵션을 지정할 수 있습니다 글로벌 변화를

\documentclass{article} 
\usepackage[shell]{gnuplottex} 
\begin{document} 
\begin{gnuplot}[terminal=cairolatex] 
set label 1 "\\Huge This is huge and \\bf bold" at -6,0 
plot sin(x) 
\end{gnuplot} 
\end{document} 

enter image description here

help cairolatex 참조 .