d1: READ FILE=plumed.in VALUES=c1
d2: READ FILE=plumed.in VALUES=c2
d3: READ FILE=plumed.in VALUES=c3

ff: COLLECT_FRAMES STRIDE=1 ARG=d1,d2,d3
dists: EUCLIDEAN_DISSIMILARITIES USE_OUTPUT_DATA_FROM=ff 
mds: CLASSICAL_MDS USE_OUTPUT_DATA_FROM=dists NLOW_DIM=2

smapc: SKETCHMAP_CONJGRAD USE_OUTPUT_DATA_FROM=mds HIGH_DIM_FUNCTION={SMAP R_0=2 A=3 B=9} LOW_DIM_FUNCTION={SMAP R_0=2 A=2 B=2} CGTOL=1E-2
smapp: SKETCHMAP_POINTWISE USE_OUTPUT_DATA_FROM=smapc FGRID_SIZE=50,50 CGTOL=1E-2 NCYCLES=2
OUTPUT_ANALYSIS_DATA_TO_COLVAR USE_OUTPUT_DATA_FROM=smapp ARG=smapp.* FILE=smap FMT=%8.3f

