TransWikia.com

How to add a legend in a Mathematica Graphics package?

Mathematica Asked on June 16, 2021

Suppose that I have

Graphics[ {{Point[{0,1}], Black},{Point[{1,1}], Blue}}] which plots a black point and a blue point next to each other.

Now, I want to add a legend as with PlotLegend giving a small black box and the name "a" and a small blue bog and the name "b".

Legends do not seem to be in the options package and I can apparently not just add PlotLegend in the end since it is not compatible with graphics.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP