洛伦(Matlab)的艺术

将想法变成MATLAB

笔记

洛伦(Matlab)的艺术已退休,不会更新。

如何绘制我的一年

我经常出差。主要用于工作。我试一试advantage of the priviledge - visiting so many amazing places -- and spend a little extra time occasionally. People even joke that I should be writing a travel blog. Of course I prefer to write one on MATLAB. But how about combining these just for fun today.

Another observation: I find that often people don't include enough information on their plots, from axes labels to good titles. And sometimes the story we want to tell is complex. Including how we present the data. Good labels and titles go a long way to remedying the situation.

您可能已经注意到MATLAB中有关新功能的最近帖子:Tiledlayout,要取代subplot。这是Steve's post肖恩(Sean's)在POTW上

I thought it would be fun to make a "calendar" of sorts for my travels. As the year goes on, I hope to replace the plot each month with an iconic picture from my travels. I will start it off with junk data. And I want to show my meanders a bit as well. For now, again, the plot will be with nonsense data, to be filled in as the year goes on.

内容

我的日历

这是我的日历。

t = tiledlayout(4,4); title(t,“洛伦的2020年旅行”)t.TileSpacing =“袖珍的”;t.padding =“袖珍的”;nexttile;情节(rand(3)),标题(“扬”)Nextile,情节(魔术(3)),标题(“ 2月”)Nextile,情节(rand(3)),标题("Mar")Nextile,情节(rand(3)),标题(“ APR”)Nextile,情节(rand(3)),标题(“可能”)nexttile(8),情节(rand(3)),标题(“ jun”)nexttile(9),情节(rand(3)),标题(“七月”)nexttile(12), plot(rand(3)), title(“八月”)nexttile(13),情节(rand(3)),标题(“九月”)nexttile(14),情节(rand(3)),标题(“ OCT”)nexttile(15), plot(rand(3)), title(“ nov”)nexttile(16),情节(rand(3)),标题(“ DEC”)NextTile(6,[2,2]);Geoplot([ -  44 77],[172 20],,"m-*"

也许我应该举办一场比赛,看看我每个月是否可以识别我的照片。我稍后再决定:-)。

观察

请注意,我如何布置我的地块网格,值得庆幸的是,在中央地图周围有12个月的空间。您知道您现在可以很好地布置地块吗?并添加所有重要的注释,即图,包括标题和轴标签?让我知道here




与Matlab®R2019B一起出版

|
  • 打印
  • 发送电子邮件