शुरू करेंमुफ़्त में शुरू करें

Log scatter recipe

इस अभ्यास में, आप एक series recipe बनाएँगे जो logarithmic y-axis scale के साथ scatter plots जनरेट करती है. इसके अलावा, आपकी recipe अतिरिक्त attributes से plot को customize भी करेगी.

Plots पैकेज लोड है, और streaming DataFrame उपलब्ध है.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Julia के साथ डेटा विज़ुअलाइज़ेशन परिचय

पाठ्यक्रम देखें

अभ्यास निर्देश

  • :scatter टाइप की logscatter नाम की series recipe बनाएँ.
  • plotting फंक्शन logscatter परिभाषित करें.
  • recipe को Age और Hours_per_day कॉलम पर, उसी क्रम में, लागू करें.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Series recipe
____ function f(::Type{Val{:____}}, x, y, z)
    seriestype := :____
    framestyle := :box
    label := false
    yscale := :log10
    markershape := :star4
    markercolor := :purple3
    markersize := 5
    markeralpha := 0.5
end
# Define plotting function
____ ____
# Apply recipe
____(streaming.____, streaming.____)
कोड संपादित करें और चलाएँ