好吧,假設我創建了一個非常簡單的柱狀圖與我的功能: hist(my.fun(100))
我的直方圖顯示Histogram of my.fun(100)標題。這對我來說非常好!我喜歡R自動識別my.fun(100)並將其放入標題和標籤中的方式。 但後來我做複雜的計算,他說: n <- my.complex.algo.that.compute.size(args)
hist(my.fun(n))
我嘗試使用兩個圖像參數來控制項目中的圖像。問題是,當我在Emgu CV中應用任何公共無效函數後無法重新分配圖像時。 這是我的代碼: public static class Global
{
public static Image<Gray, byte> xrayPic;
public static Image<Gray, byte> rootPic;
}
private
這可能是一個非常簡單的問題,但我無法理解它。我正在生成How to fill histogram with color gradient?中提出的直方圖,並且想要使用scale_color_gradient2更改顏色方案。直方圖條應根據數據集中的連續變量着色,最小值爲「深綠色」,最大值爲「紅色」,中間值爲「橙色」。我還使用scale_color_gradient2的純粹「trans」屬性對我的數據