필터 지우기
필터 지우기

Open .ps file in MATLAB

조회 수: 22 (최근 30일)
Naveed Ahmed
Naveed Ahmed 2018년 12월 18일
댓글: Naveed Ahmed 2018년 12월 18일
How to open a figure that was previously printed into a .ps file using MATLAB?
  댓글 수: 2
Walter Roberson
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?
Naveed Ahmed
Naveed Ahmed 2018년 12월 18일
An image was displayed in MATLAB, then 'print' was used to print that image into a .ps file. I want that image back into MATLAB from the .ps file.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 12월 18일
I know of three basic approaches .
  1. 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
  2. read through the postscript to find the encoded image and render it yourself
  3. open a web browser in MATLAB to display a file:// and then access the canvas https://www.mathworks.com/help/matlab/ref/web.html
  댓글 수: 1
Naveed Ahmed
Naveed Ahmed 2018년 12월 18일
Thanks for the help

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by