Miscellaneous Toolkit - z_curve
- Function file:
x, yz_curve(n) Creates an iteration of the Z-order space-filling curve with n points. The argument n must be of the form
2^M, where m is an integer greater than 0.n = 8 [x ,y] = z_curve (n); line (x, y, "linewidth", 4, "color", "blue");