how i can connect equal point to gather of 2 separated graph on same figure
Show older comments
i want to know how to connect equal data point to gather of 2 separated graph on same figure
Answers (1)
Image Analyst
on 5 Jan 2013
0 votes
Not sure what "connect" means to you, but how about using the line() function?
11 Comments
mansour
on 5 Jan 2013
mansour
on 5 Jan 2013
Image Analyst
on 5 Jan 2013
Edited: Image Analyst
on 5 Jan 2013
This code doesn't run, even after fixing about 10 things. Please paste code that I can simply copy, paste, and run.
mansour
on 5 Jan 2013
Image Analyst
on 5 Jan 2013
Yes, it runs now, though you can just paste your code in, highlight it, and click {}Code icon. You don't need to double space the lines if you do that.
But I still don't know what "connect equal data point to gather of 2 separated graph" means. I thought there was going to be 2 graphs, not 1. And I still don't know what connect means. Would line() work? And do you mean "gather" (it means to collect into a group), or does "to gather" really mean together (like joined or linked to each other)? And how do you define "equal"?
mansour
on 5 Jan 2013
mansour
on 5 Jan 2013
mansour
on 5 Jan 2013
mansour
on 5 Jan 2013
Image Analyst
on 5 Jan 2013
OK. Like I said, line() should do it. For each x,y coordinate, you call
line([xMesh, xData], [yMesh, yData], [zMesh, zData]);
Categories
Find more on Polar 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!