X系列开始 [英] start of X series

查看:53
本文介绍了X系列开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何设置x轴以在数据的第一点而不是日期范围的第一天开始绘制图形.

I would like to know how to set x axis to start drawing at the first point of data, instead of the first day of date-range?.

(很遗憾,我没有10分,所以我无法发布图片)

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

推荐答案

从您的问题来看,您似乎想在时间序列中设置x范围(这是一个猜测-如果您编写了gnuplot,这会有所帮助您正在使用的代码).

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).

您可以这样做:

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"]

请注意,xrange的写法必须与timefmt相同.

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

请参见 gnuplot v4.4:问题使用时间序列x轴进行绘制以获取更多信息.

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

这篇关于X系列开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆