to be more clear i put my code and what i get and what i want to get :
clc;
clear all;
close all;
%% Declaration of initial variables
fs = 5000; % Sampling Frequency in Hz
t1 = linspace(0,1000,fs) ; % Period in ms
f = 50; % Frequency in Hz
U1=230; % Supply voltage
FontSize = 10;
%% For VOLTAGE
MyVoltage1 = U1*sin(2*pi*f*t1); % Sine wave generation
MyVoltage2 = U1*sin(2*pi*f*t1+2*pi/3);
MyVoltage3 = U1*sin(2*pi*f*t1-2*pi/3);
subplot(5,1,1);
plot(t1,MyVoltage1, t1,MyVoltage2, t1,MyVoltage3)
grid on;
xlabel('My Voltage', 'FontSize', FontSize)
ylabel('Tension (V)', 'FontSize', FontSize)
title ('Generation of voltage dips of 70%', 'FontSize', FontSize);
%% Declaration of initial variables
fs = 5000; % Sampling Frequency in Hz
t2 = linspace(1000,1500,fs) ; % Period in ms
f = 50; % Frequency in Hz
P=0.7; % disturbance percentage
U2=230*P; % Perturbation
%% For PERTURBATION
MyPerturbation1 = U2*sin(2*pi*f*t2); % Sine wave generation
MyPerturbation2 = U2*sin(2*pi*f*t2+2*pi/3);
MyPerturbation3 = U2*sin(2*pi*f*t2-2*pi/3);
subplot(5,1,2);
plot(t2,MyPerturbation1, t2,MyPerturbation2, t2,MyPerturbation3)
hold on
grid on;
xlabel('My Perturbation', 'FontSize', FontSize)
ylabel('Tension (V)', 'FontSize', FontSize)
%% For VOLTAGE DIPS
%signal = MyVoltage+MyPerturbation; % Voltage dips generation
subplot(5,1,3);
plot(t1,MyVoltage1,'r', t1,MyVoltage2,'r', t1,MyVoltage3,'r' , t2, MyPerturbation1,'b', t2, MyPerturbation2,'b', t2, MyPerturbation3,'b')
grid on;
xlabel( 'My Voltage Dip', 'FontSize', FontSize)
ylabel('Voltage (V)', 'FontSize', FontSize)
%% Declaration of initial variables
fs = 5000; % Sampling Frequency in Hz
t3 = linspace(1500,2500,fs) ; % Period in ms
f = 50; % Frequency in Hz
U1=230; % Supply voltage
FontSize = 10;
%% For VOLTAGE
%MyPerturbation1 = U2*sin(2*pi*f*t2)
MyVoltage1 = U1*sin(2*pi*f*t3); % Sine wave generation
MyVoltage2 = U1*sin(2*pi*f*t3+2*pi/3);
MyVoltage3 = U1*sin(2*pi*f*t3-2*pi/3);
subplot(5,1,4);
plot(t3,MyVoltage1, t3,MyVoltage2, t3,MyVoltage3)
grid on;
xlabel('My Voltage', 'FontSize', FontSize)
ylabel('Tension (V)', 'FontSize', FontSize)
%% For FINAL VOLTAGE DIPS
%signal = MyVoltage+MyPerturbation; % Voltage dips generation
subplot(5,1,5);
plot(t1,MyVoltage1,'r',t1,MyVoltage2,'r',t1,MyVoltage3,'r', t2,MyPerturbation1,'b',t2,MyPerturbation2,'b',t2,MyPerturbation3,'b', t3,MyVoltage1,'g',t3,MyVoltage2,'g',t3,MyVoltage3,'g')
hold on
grid on;
xlabel( 'My Voltage Dip', 'FontSize', FontSize)
ylabel('Voltage (V)', 'FontSize', FontSize)

so thats the curves i get : 

as u can see the other phases are not connected when i do my voltage drop ...
what i want to get is this : 
