Vasek
Vasek

Reputation: 11

Gnuplot - yrange - scaling only max parameter

I have data that is in a yrange <-100 ; 100> I want to plot data from 60 to max, but the maximum must me autoscaled.

I tried set yrange [60:*] or [60:] but it report message: all points y value undefined! If I change value under 14, [13:*] it work and write me message: empty y range [13:13], adjusting to [13:13.13]

Anyone know how to do it?

Upvotes: 1

Views: 1094

Answers (1)

jeffrey_t_b
jeffrey_t_b

Reputation: 1769

Perhaps the GPVAL_DATA_Y_MAX variable or the stats command could be helpful? See gnuplot: max and min values in a range

Upvotes: 1

Related Questions