在 gnuplot 中编写长行命令时,使用鼠标跳转到部分不起作用。请问有什么建议吗?
当在 gnuplot 5.4 中编写长命令行时 - 例如,在一张图中绘制多组数据 - 如果我可以跳转到命令行的特定部分以使用鼠标进行编辑,那么这将很有用,目前我只能使用方向键,这需要相当长的时间。 有人对是否可以使用鼠标执行此操作有任何建议吗?干杯。
when writing long command lines in gnuplot 5.4 - e.g., plotting several sets of data in one graph - it would be useful if I could jump to specific sections of the command line to edit using my mouse, at the moment I can only do that using the arrow keys, which takes quite a while.
Does anyone have any advice on whether its possible to do that using the mouse? Cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我了解您正在使用 gnuplot 控制台输入 gnuplot 命令来创建图表
并且您有很长的命令最终可能需要编辑。
为什么不:
重置会话
开始以具有默认设置)myScript.gp
load 'myScript.gp'
如果您需要编辑任何内容,您的脚本将启动load 'myScript.gp'
并按hist
,您将获得命令的历史记录。如果197
是您要重新执行的命令的编号,请键入例如hist!197
。检查帮助历史记录
。我想说这比在 gnuplot 控制台中调用和编辑长行更方便。
I understand that you are using the gnuplot console to type your gnuplot commands to create your graph
and you have lengthy commands which you might eventually need to edit.
Why don't you:
reset session
to have default settings)myScript.gp
load 'myScript.gp'
and your script will startload 'myScript.gp'
and press <Enter>. In case you have used many other commands in the meantime, you could also typehist
and you will get the history of commands. Type, e.g.hist!197
if197
is the number of the command you want to re-execute. Checkhelp history
.I would say that this is more convenient than recalling and editing long lines in the gnuplot console.