Error in generating RMSF graph

Hi! I am trying to create RMSF graphs in which the rmsf values of two protein chains which were simulated together are overlapped instead of one being shown as a continuation after the other as shown in the picture attached. Independent indexes were made for each chain. Please advise. Thanks!