Hi,
In addition, one handy way is that you can insert a missing data row between groups -
as Origin disconnects the missing data point in default. Here is the procedure:
1) Convert your worksheet to a worksheet with "separator" rows using the script below.
2) Make a color mapped scatter as you did.
3) Change the plot type to Line+Symbol by pressing its button in the 2D Graph toolbar.
Please see the attached screenshot.
The sample script is as follows:
//////////////////////////////////////
nc=wks.nCols;
nr=wks.maxRows;
wks1$=%H;
window -t wks;
wks2$=%H;
worksheet -a 2;
for(kk=1; kk<=nc; kk++) {
range ri=[wks1$]1!wcol(kk);
range ro=[wks2$]1!wcol(kk);
ro[L]$=ri[L]$; //copy long name
}
wks.col1.type=2; //Set 1st col as Disregard
wks.col2.type=4; //Set 2nd col as X
prev=-1;
jj=1; //pointer for output
for(ii=1; ii<=nr; ii++) {
range r1=[wks1$]1!col(1);
if(ii>1 && r1[ii]!=prev) {
for(kk=1; kk<=nc; kk++) {
range ro=[wks2$]1!wcol(kk);
ro[jj]=1/0; //insert missing value
}
prev=r1[ii];
jj++;
}
for(kk=1; kk<=nc; kk++) {
range ri=[wks1$]1!wcol(kk);
range ro=[wks2$]1!wcol(kk);
ro[jj]=ri[ii]; //copy a cell
};
prev=r1[ii];
jj++;
}
//////////////////////////////////////
Hope this helps.
--Hideo Fujii
OriginLab