Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do plot with the origin on the top-left?

Tags:

gnuplot

The origin (point of 0,0) in gnuplot is always located on the bottom left corner with upward incrementing y value.

Is there a way to modify the orientation of the origin to top-left with y-axis incrementing from top to bottom like the coordinate system popularly used in imagings? I am using gnuplot to plot data file.

Any idea? Thanks in advance.

like image 398
Benny Khoo Avatar asked Dec 12 '22 04:12

Benny Khoo


1 Answers

This might be what you are actually looking for:

set yrange [:] reverse
like image 114
Kiki Avatar answered Feb 28 '23 08:02

Kiki