drawing a line from a contour plot

2 ビュー (過去 30 日間)
Doubutsu
Doubutsu 2014 年 2 月 17 日
回答済み: Doubutsu 2014 年 2 月 17 日
Hello,
I have ploted some data in a contour plot. There are space coördinates on the axis and the isolines of the contourplot are the magneticfield strength. Anyway I want to see the magneticfield strengt (so the value of the contourlines) in a graph with a single line. I know that to do this I would have to chose either a X or a Y coordinate to be a fixed value and that's fine with me. But I have no idea to do this. So far I have tried: plot(X,BZ) (BZ being the values of the magneticfield), but then matlab gives lots of lines (for all the Y values I guess) and I totally I get that this is not working, but I don't know how to get it to work. Hope that someone can help out.
Greetingz

採用された回答

Doubutsu
Doubutsu 2014 年 2 月 17 日
Oh typical. I spend days trying to do something, ask the question and then find the answer ^^''. Anway, I found out how to do it =). I had made an extra variable and then name the row/collum I wanted to use and then plot that ^^

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by