Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Plotter domainSpecs bug #264
[Issue migrated from SourceForge | ID: 3520169 | Submitted by 'nobody']
Encountered the following problem while editing a Plotview with a mouse:
d = Plotter("domainSpecs_ bug?", Rect(600, 300, 600, 200))
//edit some values in the plot with the mouse. Works as expected.
d.domainSpecs_([0.0, 10.0, 'linear', 0.1, 1, ""].asSpec); d.refresh;
This happens with the cocoa and qt GUI schemes.
Ok.. I have understood where the problem is:
if we want that after the reScaling, the resolution to be the higher, it is a problem of range.
So, if we write this:
d.domainSpecs_([0.0, 10.0, 'linear', 0.1, 1, ""].asSpec).value = (0, 0.0078125..(1/12.8)); d.refresh
it works fine.
Unfortunately I don't know how to handle with this problem, as I don't understand where to modify the program (I have tried many things). It should be something very simple I guess. So, if you do it, please give me feedback.
ps: my code sets a new array, and not the reScaling of the previous plot.