修复3个绘图函数,添加其中一个函数的示例图片与数据。
This commit is contained in:
@@ -4971,7 +4971,7 @@ def Comparison_with_Bar_Chart_3(file_path, char_out_path, out_path, title, capti
|
||||
}}
|
||||
dev.off()
|
||||
|
||||
png("{out_path}.png")
|
||||
png("{out_path}.png",width=900,height=540)
|
||||
par(omi=c(0.5,0.5,1.1,0.5),las=1)
|
||||
layout(matrix(data=c(1,2,3,4,5),nrow=1,ncol=5),widths=c(2.0,1,1,1,1),heights=c(1,1))
|
||||
pos<-c(45,45,45,45,35)
|
||||
|
||||
33
file_keep/eg_file/img/Deviation_Dots.csv
Normal file
33
file_keep/eg_file/img/Deviation_Dots.csv
Normal file
@@ -0,0 +1,33 @@
|
||||
car name,mpg_z,mpg_type
|
||||
Mazda RX4,-1.9,Below
|
||||
Mazda RX4 Wag,-1.88,Below
|
||||
Datsun 710,-1.75,Below
|
||||
Hornet 4 Drive,-1.62,Below
|
||||
Hornet Sportabout,-1.5,Below
|
||||
Valiant,-1.38,Below
|
||||
Duster 360,-1.25,Below
|
||||
Merc 240D,-1.12,Below
|
||||
Merc 230,-1,Below
|
||||
Merc 280,-0.88,Below
|
||||
Merc 280C,-0.75,Below
|
||||
Merc 450SE,-0.62,Below
|
||||
Merc 450SL,-0.5,Below
|
||||
Merc 450SLC,-0.38,Below
|
||||
Cadillac Fleetwood,-0.25,Below
|
||||
Lincoln Continental,-0.12,Below
|
||||
Chrysler Imperial,0,Above
|
||||
Fiat 128,0.12,Above
|
||||
Honda Civic,0.25,Above
|
||||
Toyota Corolla,0.38,Above
|
||||
Toyota Corona,0.5,Above
|
||||
Dodge Challenger,0.62,Above
|
||||
AMC Javelin,0.75,Above
|
||||
Camaro Z28,0.88,Above
|
||||
Pontiac Firebird,1,Above
|
||||
Fiat X1-9,1.12,Above
|
||||
Porsche 914-2,1.25,Above
|
||||
Lotus Europa,1.38,Above
|
||||
Ford Pantera L,1.5,Above
|
||||
Ferrari Dino,1.62,Above
|
||||
Maserati Bora,1.75,Above
|
||||
Volvo 142E,1.9,Above
|
||||
|
BIN
static/img_eg/example_chart/Deviation_Dots.png
Normal file
BIN
static/img_eg/example_chart/Deviation_Dots.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
BIN
static/img_eg/show_index_chart/Deviation_Dots.png
Normal file
BIN
static/img_eg/show_index_chart/Deviation_Dots.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Reference in New Issue
Block a user