我对Xamarin表格不熟悉。我已经创建了scrollview和一些内容。一切正常。但我要停止缩放选项。
import matplotlib
import numpy as np
import matplotlib.pyplot as plt
import statistics
from statistics import stdev
y1 = [73.64, 76.47, 75.70, 71.71, 73.70, 79.39]
y2 = [219.70, 206.96, 235.31, 189.91, 256.48, 210.25]
y3 = [241.11, 271.70, 255.19, 229.67, 222.30, 200.70]
y4 = [256.59, 263.97, 262.17, 243.14, 245.42, 256.55]
y1_mean = statistics.mean(y1)
y2_mean = statistics.mean(y2)
y3_mean = statistics.mean(y3)
y4_mean = statistics.mean(y4)
y = np.array([y1_mean, y2_mean, y3_mean, y4_mean])
x = np.array([0,0.3,1.5,3])
e = np.array([stdev(y1), stdev(y2), stdev(y3), stdev(y4)])
plt.errorbar(x, y, e, linestyle = 'none', color = 'turquoise' )
plt.scatter(x, y, color = 'green')
plt.xlabel('x-coordinates')
plt.ylabel('y-coordinates')
plt.title('Sample graph')
plt.show()
任何想法如何禁用缩放选项?它应该具有Xamarin形式的默认选项。