Hi all!

I am using coefplot to plot predicted probabilities at certain values for 5 model specifications x 4 subgroups.

Each predicted probability and the corresponding CI is of a certain color that matches the group for which the batch of models was estimated.

Is there a way to make the color of the label text for each group match the color used for the estimates (marker and CI spikes)?

In this specific case, make the Turkish label "cranberry", Moroccan "olive" and Pakistani "navy".

Based on the graph editor it does seem to have to do with tick labels, but would like to implement this via code rather than editor

Code:
// File created by Graph Editor Recorder.
// Edit only if you know what you are doing.

.yaxis1.major.num_rule_ticks = 0
.yaxis1.edit_tick 3 3 `"Moroccan"', custom tickset(major) editstyle(tickstyle(textstyle(color(olive))) )
// yaxis1 edits
Many thanks in advance,
Natalia

Array