Matlab:导出使用myaa制作的图形 [英] Matlab: Export a figure made with myaa

查看:197
本文介绍了Matlab:导出使用myaa制作的图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用E. Wegert的复杂函数浏览器"获得质量更好的复杂函数相图. CFE .为此,我应用了Matlab抗锯齿功能 myaa.m 到使用CFEGUI.m制作的相图.对于下面结果窗口的示例屏幕截图,我在Matlab命令窗口中使用了设置myaa([8 8]),这意味着超级采样将图形放大8x,然后将其缩小至1/8,以获得原始的h x w.

I am trying to get better quality phase plots of complex functions made with the Complex Function Explorer of E. Wegert CFE. For this purpose I apply the Matlab anti-aliasing function myaa.m to the phase plots that are made with the CFEGUI.m. For the example screenshot of the result window below I used the setting myaa([8 8]) in the Matlab command window which means that the supersampling enlarge the figure 8x and then downscale it to 1/8 to get the original h x w.

如图所示,该窗口没有用于保存或打印的操作图标或菜单选项.我的问题是如何处理这样的人物(除了制作屏幕截图)?我可以以某种方式使用 export-fig 保存这样的图形或加载将其放置在图像数组中,如果是,怎么办?

As one can see the window of the figure has no operation icons or menu options for save or print. My question is what to do with such a figure (beside making screenshots)? Can I somehow use export-fig to save such a figure or load it in an image array and if yes, how?

还可以使用设置myaa([8 1]),该设置将导致一个很大的图形窗口,该窗口大于我的屏幕(并且具有无法移动的令人不愉快的属性).如果可以保存整个数字(不仅是可见部分),那就更好了.

It is also possible to use the setting myaa([8 1]) which results in a very large figure window that is larger than my screen (and has the unpleasant attribute that it can not be moved). It would be even better if such a whole figure could be saved (not only the visible part).

推荐答案

您可以使用getframe捕获以像素为单位的当前图形信息.

You can use getframe to grab current figure information in pixels.

但是,尽管我不知道这会如何影响您,请注意,高于2014b(包括)的MATLAB版本已经具有抗锯齿功能.您链接的代码似乎来自2008年,我不确定它现在是否已过时100%.

However, while I do not know how this affects you, notice that MATLAB versions above 2014b (included) have already anti-aliasing. The code you linked seem to be from 2008, I am not 100% sure if it has become obsolete now.

这篇关于Matlab:导出使用myaa制作的图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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