You want to experiment with axis properties. Some properties of interest.
xcolor %The color of the x-axis line and the x axis labels ycolor % box %'on', or 'off' indicating if one or both sides of a plot should have lines xtick %Where to place the labels ytick
For a completely bare schedule, use:
figure set(gca,'xcolor','w','ycolor','w','xtick',[],'ytick',[])
To set the wallpaper to white,
set(gcf,'color','w')
Depending on your exact problem, you can try the βboxβ property to see how it affects your graphs.
set(gca,'box','on') set(gca,'box','off')
If you want to disable the actual graph lines, but keep the graph labels, I donβt know a simple solution. I think I will need to remove the axes as described above, and then manually add labels using the text function.
Edit: As I just learned from this question, Plot Overlay MATLAB , you can also try
axis off axis on
I think this is equivalent
set(gca,'visible','off') set(gca,'visible','on')
Edit 2:
If nothing works, activate the "graphical browser" in the figure. Use "view" β "plot browser". In the chart browser panel, uncheck each object until you find out which object draws the lines that you want to delete.
Then double-click on the abusive object to open the Property Editor panel, and most likely click Advanced Properties to see all the possible properties of this object. From this point of view, you can (hopefully) find out which object draws offensive lines.
After you figure out the object and property for editing, you can probably find out where the object is created in the code, and set the property programmatically.