Simple syntax exception to plot many points against one?

I often find myself wanting to plot multiple points against a single point, with all the points together in one trace. It would be great to be able to do this by using a subrange increment of zero. (I imagine this could either be very easy or very hard to implement, depending on how Igor indexes and scales data for plots.)

here's an example of the syntax I'm thinking of:
make/o/n=(3,3) mydata
SetDimLabel 0,0,time0val,mydata; SetDimLabel 0,1,time1val,mydata;SetDimLabel 0,2,temperature,mydata;
SetDimLabel 1,0,condition0,mydata;SetDimLabel 1,1,condition1,mydata;SetDimLabel 1,2,condition2,mydata;
display/k=1 mydata[1][*] vs mydata[2][(]  //a normal use
display/k=1 mydata[0,1][0] vs mydata[2,*;0][0]  //Wish this worked! (Surprisingly, there is no error. However, it plots starting from a row index for the x-values that is not 2.)

This syntax would alleviate the need -- unless there are alternatives that I should consider (?) -- to create extra wave points (redundantly containing the same data) serving as placeholders for the repeated x value.
Could you show a picture of a visualization you have in mind? I'm not getting what the goal here is.
Here's what I hope is a better example. Imagine you were comparing heights from people at the equator and at a latitude of 23 degrees. Here's the way I would plot that data at present:

make/o/n=10 heights0,latitudes0
latitudes0 = 0 //store the latitude at which this group's height was measured
heights0 = gnoise(66) //make up some heights for this group
make/o/n=10 heights1,latitudes1
latitudes1 = 23 //store the latitude at which this group's height was measured
heights1 = gnoise(70)//make up some heights for this group
display/k=1 heights0 vs latitudes0
appendtograph heights1 vs latitudes1
ModifyGraph mode=3,marker=8

But since the latitude parameters are constant within each group, you could also store the data as follows, without as much redundancy. The only issue is that I don't believe that one can make the same plot of the data in any straightforward way (though you could probably get close with offsets and muloffsets, for instance)
make/o/n=11 group0
group0[0]=0;setdimlabel 0,0,latitude,group0 //store the latitude at which this group's height was measured (dimension label for clarity)
group0[1,*]=gnoise(66) //make up some heights for this group
make/o/n=11 group1
group1[0]=23;setdimlabel 0,0,latitude,group1  //store the latitude at which this group's height was measured (dimension label for clarity)
group1[1,*]=gnoise(70) //make up some heights for this group
//currently, to plot the data as above, you'd have to make a wave containing a latitude for each height measurement
//I think it would be great if this syntax made the same plot as above:
display/k=1 group0[1,*] vs group0[0,*;0] //these plots produce (what to me appears to be) unexpected results
appendtograph group1[1,*] vs group1[0,*;0]
ModifyGraph mode=3,marker=8

A category plot would be fine for this simple two group situation, but imagine if you had measurements from hundreds of latitudes, as well as more data like the temperature at each latitude. This syntax would help to avoid (unnecessarily) replicating data, which then has to be kept organized. I find myself wanting to plot this way fairly often.
I think it depends on what type of analysis you want to do on the data. Plotting it could just be done by creating one X and one Y wave with all data points in them. That some points are at the same X value is not a problem. Accessing a subrange of data to analyze could then be done using Extract.
olelytken wrote:
Plotting it could just be done by creating one X and one Y wave with all data points in them. That some points are at the same X value is not a problem

To my mind, the extent to which that becomes a problem depends on the dataset's size (e.g., how many different groups) and complexity (e.g., how many different parameters are measured for each group).
In Igor 8 (now in beta testing) I have implemented Box Plot and Violin Plot traces, which sort of do what you want. They make a trace in which each trace "data point" is a display of an entire wave, or a column from a multicolumn wave. While the basic intention is to plot either a box plot for each wave, or a violin plot for each wave, they have the ability to also display markers for each of the elements of the waves. If you really don't want the box plot or violin plot, and only want the markers, you can set the line width to zero for the parts you don't want.

In addition, you can request "jitter" for the data points to spread out overlapping points. That way, these plots can also to some degree replace the Scatter Dot Plot package.

John Weeks
WaveMetrics, Inc.
If it is just a matter of plotting the data one can simply use a proper scaling of the individual waves:

SetScale/P x 0,0.2,"", heights0
SetScale/P x 23,0.2,"", heights1
Display heights0,heights1
ModifyGraph mode=3
SetAxis bottom -2,27

While this is not as smart as the ScatterDotPlot Package, it has the advantage to maintain the order of the datapoints. I needed this because I had to make a scatter dot plot were the datapoints in the individual waves corresponded to each other. The first datapoint in wave1 should have the same symbol as the first datapoint in wave2 etc.

These are both great options. Thanks!

(Still think it would be really nice if increments of zero were supported. Shouldn't it at least throw an error otherwise?)