It's Possible chage the X-axis in order to hide the blank space?

1 visualización (últimos 30 días)
I cant find how chage the X-axis so that reduce the blank space between these points (space between blue bars in the picture) I attach my code andmy .txt file.
I tried whit other optios but the results not is what I want. The important for this question in the code starting from figure(1)
close all;
clearvars;
clc;
%% import data for permeability
IFT = importdata('IFT.txt');
%% calll the measurement of IFT
time = IFT(:,1); %% Call step time
IFTHSW = IFT(:,3); %%Call IFT measurement
IFTLSW1 = IFT(:,4); %%Call IFT measurement
IFTLSW2 = IFT(:,5); %%Call IFT measurement
IFTLSW4 = IFT(:,7); %%Call IFT measurement
%% Find mean and standar desviation
meanIFTHSW = mean (IFT(:,3));
meanIFTLSW1 = mean (IFT(:,4));
meanIFTLSW2 = mean (IFT(:,5));
meanIFTLSW4 = mean (IFT(:,7));
stdIFTHSW = std (IFT(:,3));
stdIFTLSW1 = std (IFT(:,4));
stdIFTLSW2 = std (IFT(:,5)) ;
stdIFTLSW4 = std (IFT(:,7));
IFT = [meanIFTHSW meanIFTLSW1 meanIFTLSW2 meanIFTLSW4]'
salmuera = [30000 500 2000 500]'
figure(1)
E = plot(salmuera,IFT, 'o', 'MarkerSize', 8,'MarkerEdgeColor' , [.49 1 .63], 'MarkerFaceColor' , 'k')
%xticks('auto')
%smart_clean('NoWhiteSpace');
xlim([0 30500])
%ylim([0 25])

Respuestas (1)

Cris LaPierre
Cris LaPierre el 28 de Mayo de 2020
There are some FileExchange functions that may serve your needs. See this post.
If you want to do this yourself, see the discussion in this post.

Categorías

Más información sobre Tables en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by