- You never define your x variable, f
- Your code calculates a single value for Vrms
My graph is not plotting my data. How do I make it graph Vrms?
조회 수: 1 (최근 30일)
이전 댓글 표시
.
댓글 수: 0
채택된 답변
Cris LaPierre
2024년 4월 2일
편집: Cris LaPierre
2024년 4월 5일
Two issues
By default, semilogx does not use markers. Therefore, when you plot a single point, there is no line, so it appears as if nothing got plotted. Add a marker style to your LineSpec in order to see it.
plot(5,5) % no marker style
hold on
plot(4,4,'go-') % includes a marker style
hold off
legend
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!