简体   繁体   English

Octave 5.1.0 不再支持将图形复制到剪贴板

[英]Octave 5.1.0 no longer supports copy of figures to clipboard

In Octave 5.1.0 (the latest as of today),I can no longer copy figures into the clipboard (I'm using 64 bit octave on win 10).在 Octave 5.1.0(今天的最新版本)中,我无法再将数字复制到剪贴板(我在 win 10 上使用 64 位八度音阶)。 I came across this bug report , that describe the issue but haven't found any fix.我遇到了这个错误报告,描述了这个问题,但没有找到任何修复。 Is there any known fix or workaround to this problem?是否有任何已知的修复或解决此问题的方法?

Default graphics toolkit in Octave 5.1.0 is " qt " now. Octave 5.1.0 中的默认图形工具包现在是“ qt ”。 qt graphics toolkit does not have "copy to clipboard" feature. qt 图形工具包没有“复制到剪贴板”功能。 You can change graphics toolkit to " gnuplot ", which have this feature:您可以将图形工具包更改为“ gnuplot ”,它具有以下功能:

 graphics_toolkit ('gnuplot')
 plot(1,1)

在此处输入图像描述

After making an inquiry on the report for bug #55970 , it appears that it is possible to re-enable the menu copy function.在对错误 #55970的报告进行查询后,似乎可以重新启用菜单副本 function。 That report references an earlier bug #55795 , that was closed after a patch to make all figure windows the same across toolkits.该报告引用了一个较早的错误 #55795 ,该错误在修补后关闭,以使所有图形 windows 在工具包中都相同。 This apparently eliminated the Copy function from the Qt version as well.这显然也消除了 ZE8801102A40AD89DDCFDCAEBF008D25Z 版本中的 Copy function。

A patch has now been submitted on the bug #55970 tracker to re-enable a copy function.现已针对错误 #55970跟踪器提交了一个补丁,以重新启用副本 function。 This patch involves both m-file and cc-file changes, though, so making use of this patch will involve re-compiling octave yourself, or waiting for a version to be released that includes the patch.但是,此补丁涉及 m-file 和 cc-file 更改,因此使用此补丁将涉及您自己重新编译 octave,或等待发布包含该补丁的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM