Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在半对数图中创建半对数图(semilogx、semilogy、loglog)?我需要有一个放大的情节。我发现的大多数解决方案只解决线性比例而不是对数比例。
尝试使用axes,例如:
axes
x = linspace(0,1); figure(1) % plot on large axes semilogy(x,1./x) % create smaller axes in top right, and plot on it axes('Position',[.55 .55 .33 .33]) box on loglog(x,exp(x))