八度上的颜色条大小
我试图在 pdf 上打印的图形上设置颜色条大小,但不起作用。
我的代码有几行:
figure(1, "paperunits", "centimeters", "papertype", "a4", "paperorientation", "portrait", "paperposition", [0, 8.7, 19, 19]);
plot(ext(:,1), ext(:,2), "color", "k");
hold;
axis([x_range(1), x_range(2), y_range(1), y_range(2)], "equal", "off");
plot(int(:,1), int(:,2), "color", "k");
colormap("viridis");
scatter(pnt_rl(:,1), pnt_rl(:,2), 8, v*3.6, "filled");
colorbar("EastOutside");
title("Speed [km/h]");
print Figure1.pdf
屏幕上的颜色条与绘图的大小相同,但打印的 pdf 上的颜色条要大得多。 我看了很多遍指南,但我无法解决这个问题
I'm trying to set the colorbar size on a figure printed on pdf, but doesn't work.
there are the rows of my code:
figure(1, "paperunits", "centimeters", "papertype", "a4", "paperorientation", "portrait", "paperposition", [0, 8.7, 19, 19]);
plot(ext(:,1), ext(:,2), "color", "k");
hold;
axis([x_range(1), x_range(2), y_range(1), y_range(2)], "equal", "off");
plot(int(:,1), int(:,2), "color", "k");
colormap("viridis");
scatter(pnt_rl(:,1), pnt_rl(:,2), 8, v*3.6, "filled");
colorbar("EastOutside");
title("Speed [km/h]");
print Figure1.pdf
The colorbar is the same size of the plot, in the screen, but much bigger on the printed pdf.
I read many times the guide, but I cannot solve this problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论