Manipulate shortcuts in a gadfly diagram

I have a line chart in Gadfly using the label = "string vector" option. My question is: how can I manipulate the location and size of the labels printed on the chart? I want to change the position of the print marks up a bit and increase the font size. How can i do this?

From the Gadfly documentation, I think it should be an option in the "Theme", but I can't figure it out.

http://gadflyjl.org/themes.html

thanks

+4
source share
1 answer

@jfish003, Theme, major_label_font_size, . . , Measure, ,

julia>plot(x=rand(10), y=rand(10), Theme(major_label_font_size=15pt))

enter image description here

+1

Source: https://habr.com/ru/post/1620359/


All Articles