Plot using semilogx()

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 Exchange2-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