preilly40

5 Reputation

2 Badges

12 years, 364 days

MaplePrimes Activity


These are replies submitted by preilly40

@Christopher2222 That's exactly what I mean.

@Christopher2222 That's exactly what I mean.

Hi all,

 

This is the legend for something I'm working on. I'm sorry it's not more concise but I have had to tinker with the coordinates to get the legend to work. Now this is part of a bigger picture and I am trying to fit it onto a PDF file. I have solved my problem by making this spacing better, but I would like to know if it is possible or suggest making it so that the font size stays relative to the display. I'm working with maple 14 so maybe maple 16 has this feature. If not, I think that it would be a good addition.

 

Decreasing the size of the following display will demonstrate how the words do not change in size relative to the size of the display. 

 

> restart; with(plots); with(plottools);
> L := textplot({[.999-.251+.153, -.343, "Borda Count", color = 'navy', font = [Helvetica, bold, 10]], [1.002-.251+.157, -.263, "Antiplurality", color = 'navy', font = [Helvetica, bold, 10]], [1.01-.251+.186, -.503, "Approval Hull", color = gray, font = [Helvetica, bold, 10]], [1.02-.251+.179, -.423, "Procedure Line", color = "ForestGreen", font = [Helvetica, bold, 10]], [.9585-.131, -.183, "Plurality", color = 'navy', font = [Helvetica, bold, 10]]}), point([.829-.251, -.183], color = navy, symbolsize = 12, symbol = soliddiamond), point([.829-.251, -.263], color = navy, symbolsize = 14, symbol = solidcircle), point([.829-.251, -.343], color = navy, symbolsize = 12, symbol = solidbox), line([.82-.251, -.423], [.845-.251, -.423], .2, .2, .1, line, color = "ForestGreen", thickness = 1), polygon([[.82-.251, .57-1.032-0.42e-1], [.83-.251, -0.42e-1+.59-1.032], [.84-.251, -0.42e-1+.59-1.032], [.85-.251, -0.42e-1+.57-1.032], [.84-.251, -0.42e-1+.55-1.032], [.83-.251, -0.42e-1+.55-1.032]], color = gray), line([.798-.251, -.553], [.798-.251, .896-1.032], 2, .2, .1, line, color = black, thickness = 2), line([.798-.251, .896-1.032], [1.195, .896-1.032], 2, .2, .1, line, color = black, thickness = 2), line([1.195, .896-1.032], [1.195, -.553], 2, .2, .1, line, color = black, thickness = 2), line([1.195, -.553], [.798-.251, -.553], 2, .2, .1, line, color = black, thickness = 2);
> display(L, scaling = constrained, axes = none);


Thanks for your help,

-Patrick

Page 1 of 1