Hi Arjen, > This sounds like a good plan to me. In the mean time I have > adapted the wingcc driver to draw a pixel instead of a line if the > line's end points coincide. > > I used example x22 for testing this new feature - a bunch of zero-length > vectors should be very recognisable. Only it took me a while before > I realised that the plvec() function optimises these away ;). > > That raises the question whether plvec() should indeed suppress > zero-length vectors: they convey information too! Any thoughts?
In Mathematics I would say if the start and end point of a vector are the same one obtains a Null vector which is just not visible, so I think plvec() is correct in not plotting them. The problem is, that in vector oriented graphics there is nothing like a pixel, if I'm not wrong. Therefore it's also not a good idea to have a separate pixel drawing function in the dispatch table, since this is something vector oriented drivers can't do (e.g. wxGraphicsContext based on cairo can't do that). So we would need to investigate why some drivers plot a point (png) while others don't (wingcc). Regards, Werner ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel