Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以做一个简单的条形图
using Plots bar([1,2,3])
但是如何将条形标记为“a”、“b”、“c”?
要将标签放在 x 轴上,您可以执行以下操作:
bar(["a","b","c"],[1,2,3])
如果您想将标签放在其他任何地方,那么它似乎annotate!是您的最佳选择,正如 juliohm 建议的那样。
annotate!