Gnuplot axis range (GNUPLOTXYZ.GMS)

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

Gnuplot axis range (GNUPLOTXYZ.GMS)

Post by LuisG » 11 months 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

Post Reply