Info
This question is closed. Reopen it to edit or answer.
Why does my ginput function make these lines when I use images?
1 view (last 30 days)
Show older comments
I am making a bowling game in MATLAB. I made a SetPins() function but when I use it and take ginput I get this. Also, my rolling ball slows down significantly. What do I do? I'm using MATLAB 2013a. I would post the relevant code but I don't want to be accused of plagiarism in my own code.
2 Comments
Walter Roberson
on 29 Nov 2015
Are you using a version of MATLAB no later than R2014a, and did you set 'EraseMode', 'xor' ?
Jan
on 29 Nov 2015
Without seeing the code, it is impossible to guess the reasons for its behavior. So please post the relevant parts - by editing the original question and not hidden in a pile of comments.
Answers (1)
Image Analyst
on 29 Nov 2015
Maybe try a different renderer on your figure like zbuffer, painters, or opengl. Maybe one of them will work.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!