Publishing a Pdf

조회 수: 2 (최근 30일)
Praharsh
Praharsh 2012년 2월 10일
I am using R2010a and wish to publish a graph i have on my m-fie to a pdf by writing code in the M-file itself. I tried publish ('filename','pdf') but that does not work

답변 (1개)

Junaid
Junaid 2012년 2월 10일
  댓글 수: 4
Junaid
Junaid 2012년 2월 11일
Usually saveas can save it in PDF, only problem occurs that there is extra black spaces around the margins. If you can't save using saveas function then please share your error. Then we can take a look on that.
Praharsh
Praharsh 2012년 2월 21일
Hey Junaid,
sorry for the late asnwer. I have still not been able to solve the problem. Could you guys kindly look into it? this is my code
x = 0: pi/3:pi;
y = sin(x);
y2 = cos(x);
y3 = tan(x);
plot(x,y,'-',x,y2,'--',x,y3,':');
xlabel('0-pi')
ylabel('Trignometric Identities')

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

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by