Hello, I have created an array of a table. a plot of the data shows a complete sine wave. When I plot the array using "contour" option the plot reveals 2 sides of a rectangle where as I expected 4 sides completing the rotation.
Will someone please correct me?
gs

댓글 수: 7

Guillaume
Guillaume 2019년 8월 19일
I'm not sure what you call an array of a table, nor what you call the contour option of plot.
In any case, for us to have a chance to tell you what is wrong with what you're doing, we need to see what you are actually doing. Paste or attach your code, and supply some demo data.
Gavin Seddon
Gavin Seddon 2019년 8월 20일
So sorry when I run contour on the original table I get :
contour(RMSD6ns)
Error using contour (line 46)
Input arguments must be numeric or objects which can be converted to double.
the array contour plot is attached, a expect a rectangular shape and I get the attached.6nsar.jpg
KSSV
KSSV 2019년 8월 20일
You cannot use contour straight away on Table class. YOu need to input a matrix. Attach your data for help or use Contour with matrix as input data.
Gavin Seddon
Gavin Seddon 2019년 8월 20일
Hello this image was from the array converted from the original table. I cannot attch the data since the format is incompatible.
I think a feather plot shows the shape of the vector this is attached.
so sorry.
gs
6nsvector.jpg
Nishant Gupta
Nishant Gupta 2019년 8월 22일
Hi Gavin
Can you send the table which you created?
Gavin Seddon
Gavin Seddon 2019년 8월 22일
Hello
The table is ASCII and I cannot modify this. Its not a problem though,
thank you. I think the above Feather graph explains what I am doing. This poses a new questionwhich I will deal with seperately.
gs
Guillaume
Guillaume 2019년 8월 22일
Please, do not close your own questions just because they've been resolved. Questions and answers are for the benefit of everybody. Closing a question makes it disappear.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2019년 8월 19일

댓글:

2019년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by