Fondamentalement, je veux combiner http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.4 et http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html#7.2. Je suis en train d'obtenir un script gnuplot avec des points de données en texte clair embarqués pour tracer en utilisant trois couleurs différentes en une seule commande de l'intrigue, comme ceci:Le script Gnuplot combine le format "incorporé" avec des blocs indexés
plot \
"-" index 0 title "waveform" with lines, \
"-" index 1 title "-trig" with lines, \
"-" index 2 title "+trig" with lines
1418 -0.04
1419 -0.04
1420 +5.28
1421 +5.20
1422 +5.16
1418 3.66
1422 3.66
1418 3.86
1422 3.86
end
Cependant, il ne fait qu'afficher les trois blocs d'une couleur et jette un erreur sur les deuxième et troisième commandes d'index.