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 Kommentare

Guillaume
Guillaume am 19 Aug. 2019
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 am 20 Aug. 2019
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 am 20 Aug. 2019
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 am 20 Aug. 2019
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 am 22 Aug. 2019
Hi Gavin
Can you send the table which you created?
Gavin Seddon
Gavin Seddon am 22 Aug. 2019
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 am 22 Aug. 2019
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 19 Aug. 2019

Kommentiert:

am 22 Aug. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by