我找不出在我的iPython筆記本中爲matplotlib中的3d條形圖設置cmap(或多種顏色)的正確方法。我可以在X和Y平面上正確設置我的圖表(28 x 7標籤),並帶有一些隨機的Z值。該圖很難解釋,其中一個原因是x_data標籤[1,2,3,4,5]的默認顏色都是相同的。 下面是代碼: %matplotlib inline
from mpl_toolkits.mplot3d import
在我的程序中,如果bool選項= false,我需要關閉程序。 「while(option == false)」語句位於代碼的底部。這裏是我的代碼: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
nam