makeLegend[plotMark_, sizex_, sizey_, position_] := 

 Module[{graphics = {}}, 

  graphics = {Graphics[#[[1]]], #[[2]]} & /@ plotMark;

  Return[{graphics, LegendSize -> {sizex, sizey}, 

    LegendPosition -> position, LegendShadow -> None, 

    BaseStyle -> {FontSize -> 14, FontFamily -> "Times"}}] ]

Hi Guys! Above is a part of a program which is initiated to use PlotLegends`​ package. It is now built-in function as of Mathematica 9.

My question is how can I make compatible the following commands


to work in Mathematica 12?

  • $\begingroup$ Have you already looked at the help file for PlotLegends? $\endgroup$ Apr 24, 2020 at 0:15
  • $\begingroup$ Hi, I couldn't have managed which command is compatible for size, position and shadow in PlotLegends. $\endgroup$ Apr 24, 2020 at 20:19


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.