How to write rupee symbol on Y axis of ggplot2's bar graph
You can often get things like this to work on the Mac if you try out a different font. For example, this works on my system:
ggplot(data = fakeDF) +
geom_point(mapping = aes(x = u,
y = v)) +
labs(x = "x_description",
y = "\u20b9 y_description") +
theme(text=element_text(family="Helvetica"))
I don't know enough about this to provide a systematic way to identify fonts that will work with a given Unicode symbol. For example, Times and Verdana fonts are installed on my system, but I couldn't get the Rupee symbol to work with those fonts.
This resource on Unicode and Mac fonts might be helpful.
2 Likes
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.