Gnuplot axis range (GNUPLOTXYZ.GMS)

questions about GAMS' tools
Post Reply
LuisG
User
User
Posts: 8
Joined: 1 year ago

Gnuplot axis range (GNUPLOTXYZ.GMS)

Post by LuisG » 1 month ago

Hi all,

I would like to plot the results from a GAMS model using gnuplotxyz.

Is there a way to define the range of an axis with a parameter? At the moment, I am using a fixed value as in this example:

$setglobal gp_style 'points'
$setglobal gp_xrange '0 : 50000'
$setglobal gp_yrange '0 : 50000'
$libinclude gnuplotxyz data x y

However, it would be nice to use a parameter calculated from the model results. However, I am not sure how to do it...

Best regards
Luis

Post Reply