input matlab.mp prologues:=0; beginfig(1) draw begingrf(5in,4in); rdata("sample_data",1); rdata("sample_data",2); rdata("sample_data",3); rdata("sample_data",4); mtplot("0 2 cr linewidth 2 td"); mtplot("0 3 cb linewidth 1 solid "); mtplot("0 1 cg linewidth 4 pdot "); ylabel("blahblah"); xlabel("data from an arbitrary sample\_data"); finishgrf; legend(3,3,"$\alpha \geq \beta$ \bf BoldFace\it italic","ABCDEXYZZZZ","blahblah"); legend(3,1,"\bf you can have multiple legends ! \tt :)","ABCDEXYZZZZ","blahblah"); endfig; end