mouseGenGrid(range)
Inputs range in a 4-element vectors to create x range and y range, e,g, [-100 100 - 200 200] will gen grid in x range of -100 to 100 and y range of -200 and 200, default is the parameters I used in my wind tunnel testing.
+ - to change grid density, click when holding shift to add points, without holding to toggle points.
Note that point can only be toggled when 'locked on' by the gray background grid.
I used it to generate grid for traverse measurements.
Support save and load grids.
The background loads any figures in the same directory, copy the axes and replace it to the background axes. This was INTENDED to apply when preliminary data of the background is taken and the grid was refined afterwards.
It is my first submission derived from my research studies that require generating traverse measurement grid points. Not tested on other Matlab version.
Cite As
Hung (2024). mouseGenGrid(range) (https://www.mathworks.com/matlabcentral/fileexchange/48236-mousegengrid-range), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.0 | the other m file for loading grid has been missing
|
||
1.4.0.0 | Now support varying sampling time at each sampling point. |
||
1.3.0.0 | Now support different sampling time at each sample position.
|
||
1.2.0.0 | Description about loading background added. |
||
1.1.0.0 | more description added |
||
1.0.0.0 |