作为免费开源软件包的作者matlab2tikz,我打算为该软件创建一个好看的标志,让它在MATLAB 的文件交换并代表了 matlab2tikz 的功能。
有什么想法可以将 MATLAB 与 LaTeX 的优秀特性结合到一个标志性的图形中吗?
答案1
这是我朋友提供的艾丽尔:
及其演变和变化:
答案2
我为这个很棒的软件包做出了一点小贡献,它帮助了我很多次。我很感激@Nico。
向下滚动查看各种版本。
\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\usetikzlibrary{decorations, decorations.text,shadows}
\begin{document}
\begin{tikzpicture}
\node[draw=white,line width=4pt,rounded corners = 10pt,fill=Orange!20,anchor=south west,inner sep=-1pt,outer sep=0pt] (image) at (0,0) {\includegraphics[width=4cm]{Matlab-Logo}};
\begin{scope}[
x={(image.south east)},
y={(image.north west)}
]
\path[anchor=west, postaction={
decoration={raise=.37ex,
text along path,
text format delimiters={|}{|},
text={%
|\bfseries\footnotesize\color{red!70!black}|
matlab2tikz
},
text align=center,
reverse path
},
decorate
}
]
(0.55,0.85) arc (80:180:1.5cm); % (0,.45) -- (.6,.88);
\path[line cap = round,color = OliveGreen,-latex, line width=2] (0.6,0.6) edge[bend left=28,opacity = .7] (0.8,0.18);
\node[draw=Goldenrod!50!red,double,fill=olive!20,drop shadow] at (0.8,0.095) {Ti\textit{\color{orange}k}Z};
\end{scope}
\end{tikzpicture}
\end{document}
Matlab-Logo
来自http://commons.wikimedia.org/
版本 -2
我不是一名律师,因此不知道我是否让 mathworks 生气了!!!
\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\usetikzlibrary{decorations, decorations.text,shadows}
\begin{document}
\begin{tikzpicture}
\node[draw=white,line width=4pt,rounded corners = 10pt,fill=Orange!20,anchor=south west,inner sep=-1pt,outer sep=0pt] (image) at (0,0) {\includegraphics[width=4cm,angle=90]{Matlab-Logo}}; %% Matlab-Logo or membrane1
\begin{scope}[
x={(image.south east)},
y={(image.north west)}
]
\path[anchor=west, postaction={
decoration={raise=.37ex,
text along path,
text format delimiters={|}{|},
text={%
|\bfseries\footnotesize\color{red!70!black}|
matlab2tikz
},
text align=center,
reverse path
},
decorate
}
]
(0.75,0.9) arc (80:140:3cm); % (0,.45) -- (.6,.88);
\node[draw=Goldenrod!50!red,double,fill=olive!20,drop shadow,anchor=south](tikz) at (0.37,0.095) {\Huge Ti\textit{\color{orange}k}Z};
\path[line cap = round,color = OliveGreen,-latex, line width=2] (0.72,0.75) edge[in=0, out =0,opacity = 1] (tikz.east);
\end{scope}
\end{tikzpicture}
\end{document}
版本 - 3
让我们不要惹恼数学;-)
\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\usetikzlibrary{decorations, decorations.text,shadows}
\begin{document}
\begin{tikzpicture}
\node[draw=white,line width=4pt,rounded corners = 10pt,fill=Orange!20,anchor=south west,inner sep=-1pt,outer sep=0pt] (image) at (0,0) {\includegraphics[width=4cm]{logo2}}; %% Matlab-Logo or membrane1
\begin{scope}[
x={(image.south east)},
y={(image.north west)}
]
\path[anchor=west, postaction={
decoration={raise=.37ex,
text along path,
text format delimiters={|}{|},
text={%
|\bfseries\footnotesize\color{red!70!black}|
matlab2tikz
},
text align=center,
reverse path
},
decorate
}
]
(0.55,0.85) arc (80:180:1.5cm); % (0,.45) -- (.6,.88);
\node[draw=Goldenrod!50!red,double,fill=olive!20,drop shadow,anchor=south] (tikz) at (0.8,0.045) {\LARGE Ti\textit{\color{orange}k}Z};
\node[draw=Blue!50!red,double,fill=blue!10,anchor=south] (matlab) at (0.2,0.25) {\fontsize{3}{4}\selectfont\scshape Matlab};
\path[line cap = rect,color = Red!80!green,-latex, line width=1] (matlab.east) edge[out=0,in=180,opacity = 1] (tikz.west);
\end{scope}
\end{tikzpicture}
\end{document}
并在 matlab 中绘制logo2
:membrane
和 matlab 代码:
L = membrane;
s = surf(L) , view(-52,30), axis off; colormap('cool');
camlight; shading interp;
set(s, 'facelighting', 'phong', 'facealpha', 0.9);
版本 - 4
Nico 希望 LaTeX 能够出现,而我不想放弃 TikZ ;-)
\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\usetikzlibrary{decorations, decorations.text,shadows}
\usepackage{palatino}
\begin{document}
\begin{tikzpicture}
\node[draw=white,line width=4pt,rounded corners = 10pt,fill=Orange!20,anchor=south west,inner sep=-1pt,outer sep=0pt] (image) at (0,0) {\includegraphics[width=4cm]{logo3}}; %% Matlab-Logo or membrane1
\begin{scope}[
x={(image.south east)},
y={(image.north west)}
]
\node[text width= 4cm,align=center,opacity=.15,color=Orange!20] at (0.5,0.5){
\LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX
\LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX
\LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ \LaTeX
\LaTeX\ \LaTeX\ \LaTeX\ \LaTeX\ };
\path[anchor=west, postaction={
decoration={raise=.37ex,
text along path,
text format delimiters={|}{|},
text={%
|\bfseries\footnotesize\color{red!70!black}|
matlab2tikz
},
text align=center,
reverse path
},
decorate
}
]
(0.55,0.85) arc (80:180:1.5cm); % (0,.45) -- (.6,.88);
\node[draw=Goldenrod!50!red,double,fill=olive!20,drop shadow,anchor=south] (tikz) at (0.8,0.045) {\LARGE Ti\textit{\color{orange}k}Z};
\node[draw=Blue!50!red,double,fill=blue!10,anchor=south] (matlab) at (0.2,0.25) {\fontsize{3}{4}\selectfont\scshape Matlab};
\path[line cap = rect,color = Red!80!green,-latex, line width=1] (matlab.east) edge[out=0,in=180,opacity = 1]node[midway,sloped,color=white,scale=0.6,transform shape]{\fontsize{3}{4}\selectfont \raisebox{-1.8ex}{{\large{2}}}} (tikz.west);
\end{scope}
\end{tikzpicture}
\end{document}
玩一玩
\node[draw=Goldenrod!50!red,double,fill=olive!20,drop shadow,anchor=south] (tikz) at (0.8,0.045) {\LARGE .tikz};
\node[draw=Blue!50!red,double,fill=blue!10,anchor=south] (matlab) at (0.2,0.25) {\fontsize{3}{4}\selectfont .fig};
来表明转换。
答案3
一个更有趣的提议
可惜 TikZ 没有吉祥物!
答案4
版本 1
我在 MATLAB 中尝试了类似的事情:
surf(membrane), view(-52,30), axis off
加上我最喜欢的包(谢谢@Nico):
matlab2tikz(['C:\...\logo.tex'])
将此行添加到徽标文件(tikZ)中的文本:
\path (9,5) node[left,scale=6,rotate=15]{\LaTeX};
将其包含在包含所有必要前言的文件中
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pstricks}
并得出了以下结论:
随意更改内容。只是想为社区增添一些内容。
版本 2
Sketch ->TeX
为手臂(默认示例+调整)和MATLAB->TeX
徽标 制作了一个草稿版本。
如果有兴趣,我可以稍后添加所有参数和代码。