Any suggestion would be more than welcomeMy Idea is to do the whole thing with a script, whille your porposal seems to require saving the file by hand.I do not see how to reproduce in gretl the syntax of gnuplot which states which series should go to which pane.
To give you an idea I send you the faile script I was working on:
open /home/pc-1/.gretl/db/be.bin
data BE_1_10_11
data BE_1_10_12
data BE_1_10_13
gnuplot BE_1_10_11 --time-series --with-lines --output=display
gnuplot BE_1_10_12 --time-series --with-lines --output=display { set title 'AAA'; }
gnuplot BE_1_10_13 --time-series --with-lines --output=display { set title 'AAA'; }
gnuplot BE_1_10_11 BE_1_10_12 BE_1_10_13 --time-series --with-lines --output=display \
{ set multiplot layout 3,1 rowsfirst downwards; set autoscale ; set title 'AA'; }
It works till i get to lhe last command. If I drop the "set multplot layout 3,1 rowsfirst downwards;" I would get the three series on a chart, but the point is getting three charts one on top of the other.On Sat, May 10, 2014 at 11:41 PM, <oleg_komashko@ukr.net> wrote:Autogenerated script for data from denmark.gdt (open /gretl/data/misc/denmark.gdt should work)
Select several variables->(gretl)plot->save as icon view->right click->Edit plot commandsYou can do it for your data, than edit a template!# set term pngcairo font "Vera,9" size 680,400set encoding utf8set style line 1 lc rgb "#ff0000"set style line 2 lc rgb "#0000ff"set style line 3 lc rgb "#00cc00"set style line 4 lc rgb "#bf25b2"set style line 5 lc rgb "#8faab3"set style line 6 lc rgb "#ffa500"set style line 8 lc rgb "#dddddd"set style increment user# timeseries 4 (letterbox)set xlabel ''set xzeroaxisset datafile missing "?"set key left topset xrange [1973.6625:1987.8375]plot \'-' using 1:($2) title "LRM" w lines , \'-' using 1:($2) title "LRY" w lines , \'-' using 1:($2) title "IBO" w lines , \'-' using 1:($2) title "IDE" w lines1974 11.632550231974.25 11.604152481974.5 11.581520671974.75 11.601847411975 11.! 58630491975.25 11.604498571975.5 11.653307071975.75 11.764246391976 11.752933751976.25 11.765479791976.5 11.780582981976.75 11.770178221977 11.745892131977.25 11.768651411977.5 11.749824571977.75 11.748696541978 11.704915811978.25 11.703444161978.5 11.703001141978.75 11.703673011979 11.678903051979.25 11.70778161979.5 11.676155061979.75 11.685920741980 11.641606371980.25 11.635179761980.5 11.609260981980.75 11.657612651981 11.627818411981.25 11.628852321981.5 11.603777611981.75 11.629064851982 11.602023331982.25 11.603775321982.5 11.594622351982.75 11.603820171983 1! 1.617125641983.25 11.688095891983.5 11.72651 4921983.75 11.781250431984 11.797620191984.25 11.841912041984.5 11.840295391984.75 11.923577531985 11.902962221985.25 11.926783661985.5 11.97099811985.75 12.025902611986 12.051150781986.25 12.075460381986.5 12.056189311986.75 12.071627951987 12.027952221987.25 12.039788341987.5 12.0152941e1974 5.9036584911974.25 5.8738200021974.5 5.8378176151974.75 5.8122547441975 5.8039454061975.25 5.7867611761975.5 5.8334123911975.75 5.9298486841976 5.937654141976.25 5.9353324591976.5 5.9317546161976.75 5.9405243481977 5.9280435351977.25 5.9371802051977.5 5.9565534341977! .75 5.939601881978 5.9324077741978.25 5.9312375181978.5 5.9721356931978.75 5.9687290431979 5.9624728191979.25 5.9864864271979.5 5.9847883111979.75 5.9770438161980 5.9851010931980.25 5.9451983331980.5 5.9016251751980.75 5.9024398721981 5.8974216891981.25 5.8938657751981.5 5.8834510711981.75 5.8946873671982 5.9023360211982.25 5.9243881421982.5 5.9499066051982.75 5.9286679751983 5.9158901541983.25 5.9386698631983.5 5.9321855041983.75 5.9743089781984 5.9639157911984.25 6.0009935021984.5 5.9905376181984.75 5.9687021891985 6.0137997491985.25 6.0033180161985.5 6.0445170431! 985.75 6.0812913111986 6.0955702511986.25 6. 0896582931986.5 6.0989916141986.75 6.0807058941987 6.0611745951987.25 6.0637298581987.5 6.050830024e1974 0.15473561974.25 0.17799121974.5 0.17056471974.75 0.15222731975 0.13422761975.25 0.13348051975.5 0.12841321975.75 0.12883571976 0.14134451976.25 0.15311871976.5 0.16057871976.75 0.16183251977 0.16658141977.25 0.16302131977.5 0.16924661977.75 0.17288961978 0.17173711978.25 0.17570751978.5 0.17119331978.75 0.18200411979 0.17004341979.25 0.16892931979.5 0.1782751979.75 0.18044631980 0.19106671980.5 0.19231980.75 0.1829667!1981 0.18453331981.25 0.19286671981.5 0.20323331981.75 0.19233331982 0.20326671982.25 0.21076671982.5 0.20886671982.75 0.19706671983 0.16111983.25 0.13831983.5 0.14171983.75 0.13381984 0.13411984.5 0.14481985 0.13171985.25 0.11961985.5 0.1071985.75 0.10371986 0.09771986.25 0.09841986.5 0.11151986.75 0.1142671987 0.11933331987.25 0.11733331987.5 0.1189667e1974 0.0941974.25 0.09551974.5 0.09551974.75 0.09551975 0.08851975.25 0.0791975.5 0.0761975.75 0.0741976 0.0721976.25 0! .0781976.5 0.081976.75 0.103197 7 0.0971977.25 0.0881977.5 0.0951977.75 0.0971978 0.0991978.25 0.0881978.5 0.0811978.75 0.0771979 0.0751979.25 0.0771979.5 0.0861979.75 0.1011980 0.1091980.25 0.1211980.5 0.1211980.75 0.1071981 0.1051981.25 0.1091981.5 0.1111981.75 0.1091982 0.1071982.25 0.1111982.5 0.1111982.75 0.111983 0.1061983.25 0.0871983.5 0.0831983.75 0.0851984 0.0851984.25 0.0831984.5 0.0851984.75 0.091647251985 0.090264591985.25 0.087635191985.5 0.080042591985.75 0.075583551986 0.072379131986.25 0.067458331986.5 0.! 067940791986.75 0.07539571987 0.076653261987.25 0.076258671987.5 0.07516289e--- Оригінальне повідомлення ---
Від кого: "Javier Sansa" <javiersansa@gmail.com>
Дата: 10 травня 2014, 21:14:44Javier SansaThanks in advance,When plotting graphs using gnuplot is it possible using the gnuplot command set multiplot in a script in order to plot several charts together?I have tried using it and I keep getting an error message. If it is possible, could you provide me a short script to see how it is done?_______________________________________________ Gretl-users mailing list Gretl-users@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-users
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users_______________________________________________ Gretl-users mailing list Gretl-users@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-users