comparison libinterp/corefcn/graphics.in.h @ 30253:20fd3c03fd74

Add new plot marker styles '|' and '_' (bug #61350) * NEWS: Announce addition. * gl-render.cc (make_marker_list): Add instructions for drawing '|' and '_' markers. * graphics.cc (radio_values::radio_values): Add special case in constructor from string of options to parse '|||' and return value '|'. * graphics.in.h (line, patch, scatter, surface): Add '|' and '_' to marker property for graphics objects which have this property. * __pltopt__.m: Add '|' and '_' to list of possible markers in input validation. * __gnuplot_draw_axes__.m: Add FIXME note about implementing these two markers in gnuplot. There doesn't seem to be an easy way to do this as it is not one of the defined point styles.
author Rik <rik@octave.org>
date Wed, 27 Oct 2021 15:07:52 -0700
parents 14b098a6ba46
children f306fe9bfa0d
comparison
equal deleted inserted replaced
30252:774d6edb4cae 30253:20fd3c03fd74
4398 color_property color , color_property (color_values (0, 0, 0), radio_values ("none")) 4398 color_property color , color_property (color_values (0, 0, 0), radio_values ("none"))
4399 string_property displayname , "" 4399 string_property displayname , ""
4400 radio_property linejoin , "{round}|miter|chamfer" 4400 radio_property linejoin , "{round}|miter|chamfer"
4401 radio_property linestyle , "{-}|--|:|-.|none" 4401 radio_property linestyle , "{-}|--|:|-.|none"
4402 double_property linewidth , 0.5 4402 double_property linewidth , 0.5
4403 radio_property marker , "{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram" 4403 radio_property marker , "{none}|+|o|*|.|x|||_|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"
4404 color_property markeredgecolor , color_property (radio_values ("{auto}|none"), color_values (0, 0, 0)) 4404 color_property markeredgecolor , color_property (radio_values ("{auto}|none"), color_values (0, 0, 0))
4405 color_property markerfacecolor , color_property (radio_values ("auto|{none}"), color_values (0, 0, 0)) 4405 color_property markerfacecolor , color_property (radio_values ("auto|{none}"), color_values (0, 0, 0))
4406 double_property markersize , 6 4406 double_property markersize , 6
4407 row_vector_property xdata u , default_data () 4407 row_vector_property xdata u , default_data ()
4408 string_property xdatasource , "" 4408 string_property xdatasource , ""
4989 array_property faces u , default_patch_faces () 4989 array_property faces u , default_patch_faces ()
4990 array_property facevertexalphadata , Matrix () 4990 array_property facevertexalphadata , Matrix ()
4991 array_property facevertexcdata u , Matrix () 4991 array_property facevertexcdata u , Matrix ()
4992 radio_property linestyle , "{-}|--|:|-.|none" 4992 radio_property linestyle , "{-}|--|:|-.|none"
4993 double_property linewidth , 0.5 4993 double_property linewidth , 0.5
4994 radio_property marker , "{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram" 4994 radio_property marker , "{none}|+|o|*|.|x|||_|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"
4995 color_property markeredgecolor , color_property (radio_values ("none|{auto}|flat"), color_values (0, 0, 0)) 4995 color_property markeredgecolor , color_property (radio_values ("none|{auto}|flat"), color_values (0, 0, 0))
4996 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0)) 4996 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0))
4997 double_property markersize , 6 4997 double_property markersize , 6
4998 double_property specularcolorreflectance , 1.0 4998 double_property specularcolorreflectance , 1.0
4999 double_property specularexponent , 10.0 4999 double_property specularexponent , 10.0
5249 array_property latitudedata , Matrix () 5249 array_property latitudedata , Matrix ()
5250 string_property latitudedatasource , "" 5250 string_property latitudedatasource , ""
5251 double_property linewidth , 0.5 5251 double_property linewidth , 0.5
5252 array_property longitudedata , Matrix () 5252 array_property longitudedata , Matrix ()
5253 string_property longitudedatasource , "" 5253 string_property longitudedatasource , ""
5254 radio_property marker , "{o}|+|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram|none" 5254 radio_property marker , "{o}|+|*|.|x|||_|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram|none"
5255 double_property markeredgealpha , 1.0 5255 double_property markeredgealpha , 1.0
5256 color_property markeredgecolor , color_property (radio_values ("{flat}|none"), color_values (0, 0, 0)) 5256 color_property markeredgecolor , color_property (radio_values ("{flat}|none"), color_values (0, 0, 0))
5257 double_property markerfacealpha , 1.0 5257 double_property markerfacealpha , 1.0
5258 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0)) 5258 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0))
5259 array_property rdata , Matrix () 5259 array_property rdata , Matrix ()
5485 radio_property facelighting u , "none|{flat}|gouraud|phong" 5485 radio_property facelighting u , "none|{flat}|gouraud|phong"
5486 array_property facenormals m , Matrix () 5486 array_property facenormals m , Matrix ()
5487 radio_property facenormalsmode u , "{auto}|manual" 5487 radio_property facenormalsmode u , "{auto}|manual"
5488 radio_property linestyle , "{-}|--|:|-.|none" 5488 radio_property linestyle , "{-}|--|:|-.|none"
5489 double_property linewidth , 0.5 5489 double_property linewidth , 0.5
5490 radio_property marker , "{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram" 5490 radio_property marker , "{none}|+|o|*|.|x|||_|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"
5491 color_property markeredgecolor , color_property (radio_values ("none|{auto}|flat"), color_values (0, 0, 0)) 5491 color_property markeredgecolor , color_property (radio_values ("none|{auto}|flat"), color_values (0, 0, 0))
5492 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0)) 5492 color_property markerfacecolor , color_property (radio_values ("{none}|auto|flat"), color_values (0, 0, 0))
5493 double_property markersize , 6 5493 double_property markersize , 6
5494 radio_property meshstyle , "{both}|row|column" 5494 radio_property meshstyle , "{both}|row|column"
5495 double_property specularcolorreflectance , 1 5495 double_property specularcolorreflectance , 1