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 Comments

You need to show us your data arrays.
k
k on 2 Apr 2020
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
What are Op2 .... and tzzp2..... and Tp2....?
@Khiana Rogers Can you provide the values of the variable Op's. Tp's & tzzp's

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

k
k
on 1 Apr 2020

Community Treasure Hunt

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

Start Hunting!