在多图模式下用鼠标旋转3D图 [英] Rotating 3D plots with the mouse in multiplot mode

查看:51
本文介绍了在多图模式下用鼠标旋转3D图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在gnuplot中执行以下操作时...

When I do the following in gnuplot ...

set terminal x11
splot sin(x)

我可以用鼠标旋转3d图

I can rotate the 3d plot with the mouse

另一方面,如果我执行以下操作

On the other hand, if I do the following

set terminal x11
set multiplot layout 1,2
splot sin(x)
splot cos(x)

即使我愿意,我也不能旋转sin(x)或cos(x).有人知道是否可以使用可旋转的图创建多图吗?

I can't rotate sin(x) or cos(x) even though I would love to. Does anybody know if it is possible to create a multiplot with plots that you can rotate?

推荐答案

很遗憾,您不能这样做. gnuplot开发人员之一Ethan A. Merritt,此处解释了原因:

Unfortunately you can't. Ethan A. Merritt, one of the gnuplot developers, here explained why:

基本限制.最好将"multiplot"命令理解为 意思是不要为下一个情节开始新的页面".所以你的命令 已经创建了两个单独的地块,而它们恰好在同一个地方 页. Gnuplot一次仅跟踪一个图的数据,因此您可以 仅重绘最近的情节.所有较早的情节早已荡然无存.

Fundamental limitation. The "multiplot" command is best understood as meaning "don't start a new page for the next plot". So your commands have created two separate plots, that just happen to be on the same page. Gnuplot only tracks the data for one plot at a time, so you can only redraw the most recent plot. All earlier plots are long gone.

这篇关于在多图模式下用鼠标旋转3D图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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