PLOTTING IN GNUPLOTXYZ FROM GAMS Topic is solved

Questions on using the GAMS APIs (Python, .NET, etc.)
Post Reply
Suresh Jakhar
User
User
Posts: 5
Joined: 7 years ago

PLOTTING IN GNUPLOTXYZ FROM GAMS

Post by Suresh Jakhar »

Dear all,
i am trying to plot the two and three axes charts of my sensitivity analysis by using gnuplotxyz. i have downloaded gnuplot from the referred link and have installed it in the 'projdir' where all my .gms codes and files are stored. I tried running the example code on the link "https://www.gams.com/latest/docs/usergu ... mplegr.gms"
but encountered a compiler error which is
"282 Unable to open include file"
i suppose it is because i havent been able to follow the following instruction:
Copy the file gnuplotxyz.gms to the .\inclib subdirectory of your GAMS system directory.
from the following link:
https://www2.uni-hamburg.de/Wiss/FB/15/ ... escription

summarily, to execute gnuplotxyz in GAMS, it suggests that after downloading gnuplot we copy the file "gnuplotxyz.gms" to the ".\inclib subdirectory of your GAMS system directory". WHAT IS THIS INCLIB SUB DIRECTORY AND WHERE CAN I FIND IT?
Thanks.
Fred
Posts: 372
Joined: 7 years ago

Re: PLOTTING IN GNUPLOTXYZ FROM GAMS

Post by Fred »

Hi Suresh,

The GAMS system directory is the directory, where the GAMS System has been installed. Under Windows that is by default something like C:\GAMS\win64\24.8.
In that directory there is another one called "inclib" and that is where you may want to put the gnuplotxyz.gms.

Hope that helps,
Fred
Suresh Jakhar
User
User
Posts: 5
Joined: 7 years ago

Re: PLOTTING IN GNUPLOTXYZ FROM GAMS

Post by Suresh Jakhar »

It works. Thankyou Fred. :)
Post Reply