Open .ps file in MATLAB
27 ビュー (過去 30 日間)
古いコメントを表示
How to open a figure that was previously printed into a .ps file using MATLAB?
2 件のコメント
Walter Roberson
2018 年 12 月 18 日
Open it in what sense? You want to get a figure() back, complete with all of the objects that were used in MATLAB to create the .ps? Or you just want a rendered image that you will treat as an image?
回答 (1 件)
Walter Roberson
2018 年 12 月 18 日
I know of three basic approaches .
- trigger an external utility such as ghostscript to render into an image that can be imported https://www.mathworks.com/matlabcentral/answers/58280-input-vector-graphics-into-matlab
- read through the postscript to find the encoded image and render it yourself
- open a web browser in MATLAB to display a file:// and then access the canvas https://www.mathworks.com/help/matlab/ref/web.html
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!