I'm trying to use "semilogx()" in my code but it's not working. The data that it I'm trying to graph prints correctly in the workspace and the graph prints with the correct axis labels but my data isn't showing up.
Any suggestions for what I could add to my code and/or how to fix it? I have MATLAB_2016a.

댓글 수: 4

David Hill
David Hill 2020년 4월 1일
You need to show us your data arrays.
k
k 2020년 4월 2일
Op = [Op2 Op3 Op4 Op5 Op6 Op7 Op8];
PP = [tzzp2/Tp2 tzzp3/Tp3 tzzp4/Tp4 tzzp5/Tp5 tzzp6/Tp6 tzzp7/Tp7 tzzp8/Tp8];
phip = -360 * (PP);
figure;semilogx(Op,phip);
these are my four lines of code which should produce the graph
David Hill
David Hill 2020년 4월 2일
What are Op2 .... and tzzp2..... and Tp2....?
Srivardhan Gadila
Srivardhan Gadila 2020년 4월 6일
@Khiana Rogers Can you provide the values of the variable Op's. Tp's & tzzp's

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

k
k
2020년 4월 1일

댓글:

2020년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by