Message Boards Message Boards

0
|
2104 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

[Solved] How to change the color of Callout Leader and CalloutMarker?

Posted 1 year ago

In this example, I'd like to change the color of the Callout Leader and the CalloutMarker to Black. Possible?

data1 = Table[{x, 4.9 + (0.2*RandomReal[])}, {x, 1, 10}];
poi = {
   Callout[
    {8, 2.5},
    "point of interest",
    {7, Automatic},
    CalloutMarker -> Arrowheads[0.05]
    ]
   };
eplot = ListPlot[{data1, poi}, PlotRange -> {Automatic, {0, 6}}, 
   ImageSize -> Small];
Print[eplot];

enter image description here

POSTED BY: Richard Frost
2 Replies

You can make the arrow black by adding a CalloutStyle -> Black option to the Callout. As for the marker, try addding a PlotStyle -> {Automatic, Black} option to the ListPlot.

POSTED BY: Gustavo Delfino

Thank you Gustavo!

CalloutStyle -> Black

took care of both. :)

POSTED BY: Richard Frost
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract