Ich versuche, eine Figur, die sowohl gestrichelten und durchgezogenen Linien mit gnuplot v4.4 enthält. Der Code ist:gnuplot png Ausgabe zeigt keine gestrichelten/gepunkteten Linien
set term postscript eps enhanced color
set style line 1 linetype 1 lw 2
set style line 2 linetype 1 lw 2 linecolor rgb 'green'
set style line 3 linetype 1 lw 2 linecolor rgb 'blue'
set style line 4 linetype 4 lw 2 linecolor rgb 'red'
set style line 5 linetype 3 lw 2 linecolor rgb 'blue'
set border lw 3
set xtics font ',18'
set ytics font ',18'
set output 'roc.ps'
set key right bottom
plot 'roc_fpdock_isc_test' u 1:2 w l ls 1 title "Full optimization, test set" ,x w l ls 2 title "Random", 'roc_fpdock_isc_training' u 1:2 w l ls 3 title "Full optimization, training set", 'roc_mini_pep_sc_training' u 1:2 w l ls 4 title "Minimization only, training set", 'roc_mini_pep_sc_test' u 1:2 w l ls 5 title "Minimization only, test set"
Problem ist, ich kann es nicht auf Png plotten. Wenn ich die set term
Anweisung zu: set term png enhanced
ändere, bekomme ich nur ununterbrochene Linien. Irgendeine Idee, was schief gelaufen ist?
groß, Das funktionierte perfekt, dank :-) – Protostome
Wenn Sie 'pngcairo', würde ich Ihnen raten, es zu benutzen. Nach meiner Erfahrung macht es schöner aussehende Plots als 'png' (das mit dem GD-Backend). – mgilson
Thx! Es hat etwas Zeit gespart, nachdem das selbe merkwürdige Problem mit png Begriff geschlagen wurde. –