Hello,
How about call the labtalk function in Origin C to make a double Y plot. Please check with the code and result graph:
void doubleY()
{
LT_execute("plotxy iy:=(1,2) plot:=202 ogl:=[<new template:=doubleY>];");
LT_execute("plotxy iy:=[Book1]1!(1,3) plot:=202 ogl:=2;");
}
Best regards!
Jason
OriginLab Technical Service