These are chat archives for sandialabs/toyplot

Dec 2018
Timothy M. Shead
Dec 10 2018 16:38
@amoshyc - A data mark is most appropriate when you have a data domain (typically with units) that should be affected by your choice of projection (for example: a linear process doesn’t look linear when using a log projection). For your purposes, polygons as drawing marks are probably the semantically right approach - presumably, you want to draw polygons around features in your image, so image / canvas coordinates are the most logical way to think about it.
Also: using graph marks as a short turn workaround to implement polys is a clever idea, albeit semantically wrong - long-term, Toyplot tries to get the semantics of marks right, so that they can provide additional, mark-centric interaction.