Spatial structures in earthquakes and faults: quantifying similarity in simulated stress fields and natural data sets