plot histogram from a subset of data

Hi,

I have a set of data in formated like this:

    Grain  Phase       X_grav       Y_grav      Area       Diameter

the phases are labelled 1, 2 , 3

I want to plot the Area or Diameter histogram of each phase.

Is it possible to do this with Igor without editing the original data file ?

Thank you,

Best regards

You can use extract to create subsets of the data and then perform a histogram on the subsetted waves.

Assuming each metric is an a single wave:

Extract diameter, dia_sub, phase==1

Would give you a wave of the diameters where the phase value was 1.

Andy