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 ^^
drawing a line from a contour plot
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!