1
$\begingroup$

When I use PlotMarkers -> {\[FilledCircle], 40} in ListPlot I get something like this:

enter image description here

How can I increase the font size of those numbers shown in the photo?

$\endgroup$
  • $\begingroup$ I'm not following. How do you generate that picture to begin with? Can you supply us with the code required to do that? $\endgroup$ – rcollyer Oct 22 '14 at 12:26
  • $\begingroup$ It's easy. In ListPlot I plot 3 data set and give each a different color, then I use PlotMarkers -> {\[FilledCircle], 40}. The picture shown is cropped. $\endgroup$ – MOON Oct 22 '14 at 14:31
  • $\begingroup$ If I'm following you correctly, you can alter the size of the markers by listing them individually, e.g. PlotMarkers -> ({\[FilledCircle], #}&/@{40, 60, 80}). Is this what you're looking for? $\endgroup$ – rcollyer Oct 22 '14 at 15:11
  • $\begingroup$ By doing what you have suggested the size of the circles increases too. I want to keep the size of those circles constant and independently increase the size of numbers. $\endgroup$ – MOON Oct 22 '14 at 15:13
  • $\begingroup$ How are you labeling the points? Is this part of a Legend? $\endgroup$ – rcollyer Oct 22 '14 at 15:54
3
$\begingroup$
ListPlot[List /@ Transpose[{{1, 2, 3}, {1, 2, 3}}], 
 PlotMarkers -> {\[FilledCircle], 40},
 PlotRangePadding -> 1,
 PlotLegends -> PointLegend[Style[#, 40] & /@ {"53ps", "211ps", "739ps"}]]

enter image description here

or, use LabelStyle option of PointLegend:

ListPlot[List /@ Transpose[{{1, 2, 3}, {1, 2, 3}}], 
 PlotMarkers -> {\[FilledCircle], 40},
 PlotRangePadding -> 1,
 PlotLegends -> PointLegend[{"53ps", "211ps", "739ps"}, LabelStyle -> 40]]
(* same picture *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.