|
Hi Stanislav,
Le 20/03/2013 13:55, Stanislav a écrit : This vectoriation is a good idea! I agree that implementing it in the same functionSEP_088_xrpoly.odt <http://mailinglists.scilab.org/file/n4026306/SEP_088_xrpoly.odt> as for only one polygon is much preferable, w.r.t. coding a specific xrpolys() function as it has been done for most of other functions plotting geometrical shapes : xrect > xrects, etc.. Since a SEP is running, here are some ideas of other possible developments for new features: - why not vectorizing also n, r and theta? (with default = scalar) - filling = filling_color (optional): to fill the polygon(s) with respective colors (vector of indices in the color_map). a color<0 means that the line (border) must not be plotted. - symbol=[symbol_numbers, symbol_sizes]: to put a symbol on the angles (the same on all angles, but may be different from a polygon to another one => vectorized = mx2 matrix). - isoview=%t option, to force the targetted axes to be isometric to show a truly regular polygonal (see the present mis-shaped sample in help xrpoly) - showAll=%t option: => enlarge axes bounds up to the external bounds of generated polygons - returning the vector of created handles xrpoly([0.5 0.5], 12, 0.4, symbol=[14, 8], filling=-color("cyan"), isoview=%t) // would display (for a single polygon) ![]() Hoping reading you soon Samuel |
_______________________________________________ dev mailing list [email protected] http://lists.scilab.org/mailman/listinfo/dev

