开发者

start of X series

开发者 https://www.devze.com 2023-03-07 11:13 出处:网络
I would like to know how to set x axis to st开发者_如何学Pythonart drawing at the first point of data, instead of the first day of date-range?.

I would like to know how to set x axis to st开发者_如何学Pythonart drawing at the first point of data, instead of the first day of date-range?.

(too bad I can't post pictures because I don't have the 10 points)


From your question it seems that you want to set the x-range in a time-series (this is a guess - it would help if you wrote the gnuplot code that you are using).

You can do this like so:

set xdata time
set timefmt "%d/%m/%Y %H:%M:%S" 
set xrange["26/10/2010 13:00:00":"26/10/2010 14:00:00"]

Notice that the xrange must be written in the same way as the timefmt.

See gnuplot v4.4: Problem plotting using timeseries x axis for more info.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号