incomplete graph from array

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 件)

カテゴリ

質問済み:

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