I have a data file with two columns like this:
date avelp1219p01 avelp1219p02 avelp1219p03 avelp1219p04
2017.11.12 1.9294 2.4847 1.7317 2.0424
2017.11.13 1.9451 2.49669 1.7477 1.99816
2017.11.14 1.9451 2.49669 1.7477 1.99816
2017.11.15 1.9451 2.49669 1.7477 1.99816
2017.11.16 1.9451 2.49669 1.7477 1.99816
2017.11.17 1.9451 2.49669 1.7477 1.99816
I want to plot the colums value for avelp1219p01, avelp1219p02, avelp1219p03, avelp1219p04 if column value is greater than or equal 2.5.
Without this condition, my histogram works very well but i want to add this condition.
here my gnuplot without this condition:
#setterminalpngcairotransparentenhancedfont"arial,10"fontscale1.0size600,400#setoutput'histograms.7.png'#settermpostscriptlandscapeenhancedcolordashed"Helvetica"14settermpostscriptlandscapeenhancedcolordashed"Helvetica"10setoutput"datagrowthbynode.ps"setborder3frontltblacklinewidth1.000dashtypesolidsetboxwidth0.95absolutesetstylefillsolid1.00nobordersetgridnopolarsetgridnoxticsnomxticsyticsnomyticsnozticsnomzticsnorticsnomrtics\
nox2ticsnomx2ticsnoy2ticsnomy2ticsnocbticsnomcbticssetgridlayerdefaultlt0linecolor0linewidth0.500,lt0linecolor0linewidth0.500setkeybmargincenterhorizontalLeftreversenoenhancedautotitlecolumnheadnoboxsetstylehistogramclusteredgap5titletextcolorlt-1offsetcharacter4,0.25#setstylehistogramclusteredgap1titletextcolorlt-1offsetcharacter2,0.25setautoxsetdatafilemissing'-'setstyledatahistogramssetxticsborderinscale0,0nomirrorrotateby-45autojustifysetxticsnorangelimitfont",8"setxtics()setyticsborderinscale0,0mirrornorotateautojustifysetyticsnorangelimitautofreqfont",8"setzticsborderinscale0,0nomirrornorotateautojustifysetcbticsborderinscale0,0mirrornorotateautojustifysetrticsaxisinscale0,0nomirrornorotateautojustifysettitle"Total Disk Used Trends by Nodes in GH2\n"setxlabel" "setxlabeloffsetcharacter0,-2,0font""textcolorlt-1norotatesetylabel"Disk used in TB"DEBUG_TERM_HTIC=119DEBUG_TERM_VTIC=119##Lastdatafileplotted:"$FILE"plotnewhistogram"Nodes in GH2",'$FILE'using"avelp1219p01":xtic(1)tcollcrgb"#800000",''u"avelp1219p02"tcollcrgb"#000000",''u"avelp1219p03"tcollcrgb"#a0a0a0",''u"avelp1219p04"tcollcrgb"#ff0000",''u"avelp1219p05"tcollcrgb"#00c000",''u"avelp1219p12"tcollcrgb"#0080ff",''u"avelp1219p13"tcollcrgb"#c000ff",''u"avelp1219p14"tcollcrgb"#00eeee",''u"avelp1219p15"tcollcrgb"#c04000",''u"avelp1219p16"tcollcrgb"#c8c800",''u"avelp1219p17"tcollcrgb"#4169e1",''u"avelp1219p18"tcollcrgb"#ffc020",''u"avelp1219p19"tcollcrgb"#008040",''u"avelp1219p20"tcollc"#c080ff",''u"avelp1219p21"tcollcrgb"#306080",''u"avelp1219p22"tcollcrgb"#8b0000",''u"avelp1219p23"tcollcrgb"#408000",''u"avelp1219p24"tcollc"#ff80ff",''u"avelp1219p25"tcollcrgb"#7fffd4",''u"avelp1219p26"tcollcrgb"#a52a2a",''u"avelp1219p27"tcollcrgb"#ffff00",''u"avelp1219p28"tcollcrgb"#40e0d0",''u"avelp1219p29"tcollcrgb"#1a1a1a",''u"avelp1219p30"tcollcrgb"#f03232",''u"avelp1219p31"tcollcrgb"#ffd700",''u"avelp1219p32"tcollcrgb"#00ff00",''u"avelp1219p33"tcollcrgb"#0000ff",''u"avelp1219p34"tcollcrgb"#000080",''u"avelp1219p35"tcollcrgb"#00ffff",''u"avelp1219p36"tcollcrgb"#ff00ff",''u"avelp1219p37"tcollcrgb"#f0e68c",''u"avelp1219p38"tcollcrgb"#a08020",''u"avelp1219p39"tcollcrgb"#ffa500",''u"avelp1219p40"tcollcrgb"#ee82ee",''u"avelp1219p41"tcollcrgb"#dda0dd",''u"avelp1219p42"tcollcrgb"#801414",''u"avelp1219p43"tcollcrgb"#804014",''u"avelp1219p44"tcollcrgb"#804080",''u"avelp1219p45"tcollcrgb"#8060ff",''u"avelp1219p46"tcollcrgb"#ffc0c0"
someone can help me to add condition which allow me to display only if the column value is greater than 2.5 ?
I read document but i did not find solution .
Thank you for your help.
Best regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I have a data file with two columns like this:
date avelp1219p01 avelp1219p02 avelp1219p03 avelp1219p04
2017.11.12 1.9294 2.4847 1.7317 2.0424
2017.11.13 1.9451 2.49669 1.7477 1.99816
2017.11.14 1.9451 2.49669 1.7477 1.99816
2017.11.15 1.9451 2.49669 1.7477 1.99816
2017.11.16 1.9451 2.49669 1.7477 1.99816
2017.11.17 1.9451 2.49669 1.7477 1.99816
I want to plot the colums value for avelp1219p01, avelp1219p02, avelp1219p03, avelp1219p04 if column value is greater than or equal 2.5.
Without this condition, my histogram works very well but i want to add this condition.
here my gnuplot without this condition:
someone can help me to add condition which allow me to display only if the column value is greater than 2.5 ?
I read document but i did not find solution .
Thank you for your help.
Best regards.