i have generate program to draw line by mouse in 2-d graph,after that i need to generate one text file which have x and y coordinates of that graph?can anyone help?

1 view (last 30 days)
2-d graph by mouse action
  1 Comment
matt dash
matt dash on 7 Nov 2014
With this kind of question, you need to show us what you have tried, and then ask specific questions about which part of the program is giving you trouble. Here's a hint: You will need at least 5 functions: One to make the figure and axes (graph) to draw in, One to start drawing when the mouse is clicked,,one to keep drawing when the mouse is moved, one to stop drawing when the mouse is released, and one to save the x/y coordinates to the text file.

Sign in to comment.

Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!