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 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!