data:
threshold;cues;words;pairs
0;6577;23196;102516
1;5437;10496;29998
data<-read.table("../data", colClasses=c("integer","integer","integer","integer"),header=TRUE,sep=";")
max_y<-max(data)
plot_colors=c("red","green","blue")
plot(data$threshold,data$cues,xlab="Threshold for number of reactions per cue",ylab="number of cues,words,pairs",col=plot_colors[1],main="Data quantity reduction",type="l")
lines(data$threshold,data$words,xlab="Threshold for number of reactions per",ylab="number of cues,words,pairs",col=plot_colors[2],main="Data quantity reduction",type="l")
lines(data$threshold,data$pairs,xlab="Threshold for number of reactions per",ylab="number of cues,words,pairs",col=plot_colors[3],main="Data quantity reduction",type="l")
legend("topright", names(data[2:4]), cex=0.8, col=plot_colors, lty=1:3, lwd=2, bty="n")
dev.copy(png,filename="../Picts/threshold_value_dependence.png",height=600, width=800,bg="white")
dev.off()