struct to restrict curve in max problem
I have to keep the blue curve for a=1.617915e-01 (black broken line) to a=1.619728e-01. There’s a small segment of the curve near the black vertical line that is unwanted. How can I remove it?
clear all
warning off
format long
set(0,’DefaultAxesFontSize’,20);
figure;
load(‘H_LC(1).mat’);
dim=2; %number of variables of my system which are x and y
MM=max(x(1:dim:end-2,:));
plot(x(end,:),MM,’b’, ‘LineWidth’,2);
xlabel(‘$arightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
ylabel(‘$brightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
hold on; xline(1.617915e-01,’k–‘, ‘LineWidth’,1);
axis([.16175 .1621 .3 1]);I have to keep the blue curve for a=1.617915e-01 (black broken line) to a=1.619728e-01. There’s a small segment of the curve near the black vertical line that is unwanted. How can I remove it?
clear all
warning off
format long
set(0,’DefaultAxesFontSize’,20);
figure;
load(‘H_LC(1).mat’);
dim=2; %number of variables of my system which are x and y
MM=max(x(1:dim:end-2,:));
plot(x(end,:),MM,’b’, ‘LineWidth’,2);
xlabel(‘$arightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
ylabel(‘$brightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
hold on; xline(1.617915e-01,’k–‘, ‘LineWidth’,1);
axis([.16175 .1621 .3 1]); I have to keep the blue curve for a=1.617915e-01 (black broken line) to a=1.619728e-01. There’s a small segment of the curve near the black vertical line that is unwanted. How can I remove it?
clear all
warning off
format long
set(0,’DefaultAxesFontSize’,20);
figure;
load(‘H_LC(1).mat’);
dim=2; %number of variables of my system which are x and y
MM=max(x(1:dim:end-2,:));
plot(x(end,:),MM,’b’, ‘LineWidth’,2);
xlabel(‘$arightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
ylabel(‘$brightarrow$’,’FontSize’,20,’interpreter’,’latex’,’FontWeight’,’normal’,’Color’,’k’);
hold on; xline(1.617915e-01,’k–‘, ‘LineWidth’,1);
axis([.16175 .1621 .3 1]); plotting MATLAB Answers — New Questions