Julia の PyPlot で、seaborn の color_palette で、Y軸が左右に2軸のクラフを描く
こんな感じだと動くみたいです。
using PyCall, PyPlot @pyimport seaborn as sns x = linspace(0,2pi,100) ax1 = plot(x,sin(x), label="sin(x)") ylabel("sin(x)", color=sns.color_palette()[1]) plt[:legend]() twinx() ax2 = plot(x,2cos(x) , color=sns.color_palette()[2], label="2cos(x)") ylabel("2cos(x)", color=sns.color_palette()[2]) plt[:legend]()
