- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个看起来像这样的情节:
然而,线条重叠了很多,我无法看到我想要的那么多。我的 gnuplot 脚本如下所示:
set autoscale
set term pdfcairo font ",4"
set output "plot.pdf"
set xdata time
set format x "%H:%M"
set timefmt "%s"
set yrange [0:550]
plot "file.dat" every 150 using 3:4 title '' with lines, \
"file.dat" every 150 using 3:5 title '' with lines, \
"file.dat" every 150 using 3:6 title '' with lines, \
"file.dat" every 150 using 3:7 title '' with lines, \
"file.dat" every 150 using 3:8 title '' with lines, \
"file.dat" every 150 using 3:9 title '' with lines, \
"file.dat" every 150 using 3:10 title '' with lines, \
"file.dat" every 150 using 3:11 title '' with lines
相应的file.dat
如下所示:
(.........)
6 1303238171 0 134.332413 140.304581 138.496323 134.021835 105.546227 107.943008 102.812347 109.098152 972.554886
7 1303238171 0 134.232849 140.35408 138.186279 132.489319 105.941231 108.020004 103.009338 109.75119 971.98429
8 1303238171 0 135.125488 138.125427 138.100098 132.543625 106.153214 107.507042 102.338707 125.25383 985.147431
9 1303238171 0 134.341904 139.913376 138.070648 132.368164 106.214211 108.506859 102.963211 155.246277 1017.62465
10 1303238171 1 134.163055 140.042313 139.231033 132.444244 106.161438 108.850807 103.753929 162.19162 1026.838439
11 1303238171 1 134.179016 140.187561 138.68425 132.572876 107.169006 107.507057 102.974937 120.698692 983.973395
12 1303238171 1 134.40593 140.569382 138.604828 139.589264 106.631699 108.092957 103.634117 108.943863 980.47204
13 1303238172 1 134.353363 138.062759 138.344818 140.665985 107.538544 108.983582 104.300827 175.732117 1047.981995
14 1303238172 1 135.190887 140.411484 138.174591 133.823929 105.412224 108.240623 102.790154 120.459106 984.502998
(.........)
有没有一种简单的方法可以让这个图表看起来像 gnuplot examples page 上的栅栏图? ?我看了看,好像真的很复杂。我希望我可以在不更改 file.dat
的情况下轻松添加第三维。你们可能知道实现这一目标的方法吗?或者您有任何其他想法可以使此图表更易读吗?
最好的问候,
最佳答案
也许我没有正确理解你的问题。但是由于您在 x 轴上绘制时间,因此将其制作成 3d 图似乎很尴尬,因为时间只是一维值。如果您正在处理表面(二维数据),您通常会使用 3d 图,在其中绘制温度、压力甚至时间(至少是一维数据)。
为了使绘图更具可读性,并且根据您的数据,多图可能会使事情变得轻松。然后您可以将数据分组到几个图中,从而可以为 y 轴设置新的范围?!
如果我可以指出一些对您的脚本的简化:
像这样使用迭代功能:
plot for [i=4:11] "file.dat" every 150 using 3:i title '' with lines
为了让这条线更清晰一点:
plot for [i=4:11] "file.dat" every 150 u 3:i t '' w l
再一次,如果你不想在你的情节中出现传奇:
set key off
plot for [i=4:11] "file.dat" every 150 u 3:i w l
请注意,我没有测试上面的几行,所以其中可能有一些错别字^^。
关于3d - gnuplot 2d plot to 3d fence plot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6442340/
我遇到了 iOS iPad 应用程序崩溃,并从“设备”选项卡中获得了以下崩溃日志: Date/Time: 2017-10-13 15:06:22 -0600 OS Version:
Android 是否支持地理围栏,如果是,那么最早支持地理围栏功能的平台是什么。 最佳答案 在您提出问题时没有支持,但 Google 刚刚发布了该功能作为 Google IO 2013 的一部分: h
我有一个 Worker 类,它运行自己的 thread 来并行执行一些工作。在特定的时间间隔内,我希望它空闲。我有一个界面 class Worker { mutex m_wait; v
最近我遇到了一个波兰信息学奥林匹克竞赛的任务,叫做“Fence”,我无法解决它。 第一行输入包含整数n ( 1 a3 a5 a2 a4 a6等等 来自 n 的范围值,似乎解决方案的复杂性类似
所以我做了一些阅读:https://en.wikipedia.org/wiki/Double-checked_locking和 http://preshing.com/20130930/double-
我正在尝试使用 Vulkan 和 C++ 创建游戏。我已经到了使用多个带线程的命令缓冲区的部分 - 或者我想如果我做得正确。 现在,我遇到了栅栏问题。控制台——我添加了一个验证层——说“Fence 0
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 1
我可以包含在 asciidoc 代码围栏内吗?这是一个示例: [source,js] ---- function doit() { *var thing;* // local
我正在测试一个应用程序,查看 Xcode > Window > Devices 中的日志,我发现了以下几行: Apr 1 17:09:33 myIphone locationd[2763] : Fe
在他的 talk 即将结束时关于内存屏障(fences),他举了下面的例子(注意:global is not of atomic type): // thread 1
我用 Python 编写了 Rail Fence Cipher。我想知道是否有更好的解决方案。 对于那些不知道rail fence cipher是什么的人来说,它基本上是一种以螺旋方式创建线性模式的方
为了诊断一个棘手的内存损坏错误(内存被随机覆盖),我考虑使用 Electric Fence + 一些自定义 mprotect 调用来确保损坏的数据结构只有在我希望它们被写入时才可写(并且当试图写入它们
我正在使用 Here Javascript API Explorer 来跟踪主要用于地理围栏的移动 map 对象。我想动态传递路线路径和栅栏路径,因为到目前为止它是硬编码在代码中的。 我尝试使用 ja
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 1
我在 lintcode 上遇到了这个问题,我已经阅读了两个过去的解决方案,但它们对我来说都没有意义。 问题如下: There is a fence with n posts, each post ca
我创建了一个有问题的程序 - buggy.c - 这是缓冲区 t 的缓冲区溢出场景。你可以看到我写了 5 个以上的索引。它工作正常。它永远不会给我一个错误。我在想,为什么会这样?我什至尝试了 Valg
我收到了一份关于我们的 iPad 应用程序崩溃的报告,并附有一条日志消息。日志消息的最后几行如下: Aug 21 08:58:51 2TesterPad backboardd[26] : CoreAn
Rocket CPU中的FENCE指令是做什么的?我尝试通过 fpga 源代码但找不到它。 另外,写缓冲区在哪里实现?我可能会在那里得到答案:) 最佳答案 [Rocket's source code]
以下错误消息是什么意思? fence has already activated -- too late to add writes 以下是如何获取它的示例: 环境 : Mac OS X狮子 mete
我有一个数组中的数字列表,我想计算上栅栏。 我知道我必须计算中位数,这可以使用 math.js 库来完成。 var median = math.median(numList); 第三个四分位数是中位数
我是一名优秀的程序员,十分优秀!