Dear all:
I want to graphically represent a solution to a model, which can be done by means of rectangles.
I have tried to find information about this, but what I found did not really help me. Even I found a related topic in this forum, but apparently it was too old and I could not access it.
Any hints on how to plot several rectangles, if you know their coordinates? Would it be possible to enter some text inside the rectangles?
What I look for is like a gantt diagram with rectangles having variable width and height
Thanks !!!
Fede
Plot a rectangle
Re: Plot a rectangle
Hi
Doing this with Gams is not possible. You could either call an r-script from within Gams (I use R for all my plotting) or use Python with embedded code.
Cheers
Renger
Doing this with Gams is not possible. You could either call an r-script from within Gams (I use R for all my plotting) or use Python with embedded code.
Cheers
Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist
Enjoy modeling even more: Read my blog on modeling at The lazy economist
-
- User
- Posts: 9
- Joined: 6 years ago
Re: Plot a rectangle
Thanks Renger! i will call R as you suggest