Re : graphs

i first used the gnuplot interface but i can not advice you to do that, cause it was not convenient to me, i prefer excel.
Anyway gams can perform chart and graphs. use the gdx command!, especially execute_unload:
1 type in your gams code: execute_unload ‘write a name for the set of results you want to show.gdx’.
2 run the model
3 in your gamsdir/projdir go and open the gdx file created in 1
4 right click on the item (variable or parameter,…) you want to plot
5 click on chart+one dimension+line chart, then you’ll see the evolution of your item

you could also select more than one itme to plot them in the same graph

attached is an example of dynamic program. you can see the use of execute_unload in the last line.
i wrote a gams learning course that describe all these apsects. i can send you it (pdf format) if you read french.

Merci et bonne réception!


M. Hervé Jean-Louis GUENE
Ingénieur Statisticien - Economiste
Institut National de la Statistique et de la Démographie/ Burkina-Faso
cel:(+226) 71 31 53 52/ 75 503 803/ 78 35 77 76




— En date de : Mar 1.11.11, alice a écrit :


De: alice
Objet: graphs
À: “gamsworld”
Date: Mardi 1 novembre 2011, 12h22

Hello,
Does anyone knows if and how cal i plot graphs in gams?

Thanks in advance,

Alice


saladyn.gms (3.17 KB)

i haven’t tried it yet but i will!!!

thanks you so much.

I would be realy interested in reading it. Could you please send it?

Thanks and best regards,

Alice.

2011/11/1 herve guene

i first used the gnuplot interface but i can not advice you to do that, cause it was not convenient to me, i prefer excel.
Anyway gams can perform chart and graphs. use the gdx command!, especially execute_unload:
1 type in your gams code: execute_unload ‘write a name for the set of results you want to show.gdx’.
2 run the model
3 in your gamsdir/projdir go and open the gdx file created in 1
4 right click on the item (variable or parameter,…) you want to plot
5 click on chart+one dimension+line chart, then you’ll see the evolution of your item

you could also select more than one itme to plot them in the same graph

attached is an example of dynamic program. you can see the use of execute_unload in the last line.
i wrote a gams learning course that describe all these apsects. i can send you it (pdf format) if you read french.

Merci et bonne réception!


M. Hervé Jean-Louis GUENE
Ingénieur Statisticien - Economiste
Institut National de la Statistique et de la Démographie/ Burkina-Faso
cel:(+226) 71 31 53 52/ 75 503 803/ 78 35 77 76




— En date de : Mar 1.11.11, alice a écrit :


De: alice
Objet: graphs
À: “gamsworld”
Date: Mardi 1 novembre 2011, 12h22

Hello,
Does anyone knows if and how cal i plot graphs in gams?

Thanks in advance,

Alice


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

\

To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

ok,
see attached file!



Merci et bonne réception!


M. Hervé Jean-Louis GUENE
Ingénieur Statisticien - Economiste
Institut National de la Statistique et de la Démographie/ Burkina-Faso
cel:(+226) 71 31 53 52/ 75 503 803/ 78 35 77 76




— En date de : Mer 2.11.11, lilly lilly23 a écrit :


De: lilly lilly23
Objet: Re: Re : graphs
À: gamsworld@googlegroups.com
Date: Mercredi 2 novembre 2011, 14h48

i haven’t tried it yet but i will!!!

thanks you so much.

I would be realy interested in reading it. Could you please send it?

Thanks and best regards,

Alice.

2011/11/1 herve guene

i first used the gnuplot interface but i can not advice you to do that, cause it was not convenient to me, i prefer excel.
Anyway gams can perform chart and graphs. use the gdx command!, especially execute_unload:
1 type in your gams code: execute_unload ‘write a name for the set of results you want to show.gdx’.
2 run the model
3 in your gamsdir/projdir go and open the gdx file created in 1
4 right click on the item (variable or parameter,…) you want to plot
5 click on chart+one dimension+line chart, then you’ll see the evolution of your item

you could also select more than one itme to plot them in the same graph

attached is an example of dynamic program. you can see the use of execute_unload in the last line.
i wrote a gams learning course that describe all these apsects. i can send you it (pdf format) if you read french.

Merci et bonne réception!


M. Hervé Jean-Louis GUENE
Ingénieur Statisticien - Economiste
Institut National de la Statistique et de la Démographie/ Burkina-Faso
cel:(+226) 71 31 53 52/ 75 503 803/ 78 35 77 76




— En date de : Mar 1.11.11, alice a écrit :


De: alice
Objet: graphs
À: “gamsworld”
Date: Mardi 1 novembre 2011, 12h22

Hello,
Does anyone knows if and how cal i plot graphs in gams?

Thanks in advance,

Alice


module1_GAMS.pdf (1.85 MB)