# matlab2tikz logo

As the author of the free and open-source package matlab2tikz, I was going to create a nice-looking logo for the software that is easily recognized on MATLAB's file exchange and representative of matlab2tikz' capabilities.

Any ideas for combining MATLAB with the awesomeness of LaTeX in one iconic figure?

This is courtesy of my friend Ariel:

And its evolution and variations:

• Simple, clean and professional! – bersanri Oct 13 '13 at 17:41
• Where is the source code? What was the tool used to generate such beautiful logo? – juliohm Oct 21 '13 at 21:20
• There is no source code. It is manual and conceptual work and Photoshop. @Nico I can provide high resolution images, just contact me. – Jan Oct 22 '13 at 8:06
• All shapes are quite straight here so I guess given the images here any tracing tool could produce a reasonably good SVG representation. – Nico Schlömer Oct 30 '13 at 12:14

My little contribution to a great package which helped me lot of times. I am grateful to @Nico.

Scroll down for various versions.

\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\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);
\end{scope}
\end{tikzpicture}
\end{document}


Matlab-Logo is from http://commons.wikimedia.org/

# Version -2

I am not a lawyer and hence have no idea if I am making mathworks angry !!!

\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\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}


# Version - 3

Let us not annoy mathworks ;-)

\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\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}


And the logo2 -- membrane plotted in matlab:

and the matlab code:

L = membrane;
s = surf(L) , view(-52,30), axis off; colormap('cool');
set(s, 'facelighting', 'phong', 'facealpha', 0.9);


# version - 4

Nico wants LaTeX to appear and I don't want to drop TikZ ;-)

\documentclass[tikz,margin=0pt,dvipsnames]{standalone}
\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}


Play around by putting

\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};


to indicate the conversion.

• Dear downvoter, Thank you for the downvote. Kindly suggest improvements through a comment besides downvoting. – user11232 Sep 17 '13 at 15:01
• Nice! Just a minor detail; perhaps you could modify the code so that the color in the region where the green arrow body meets the arrow tip has the same shade as the rest of the arrow? Currently there is a darker little region there. – Gonzalo Medina Sep 18 '13 at 1:08
• I'm not sure if one is allowed remix the MATLAB(r) logo in that way. After all, it's trademarked. – Nico Schlömer Sep 18 '13 at 9:01
• I think it would be rather unsettling to see such a cool show case - and the result has not been generated with the software at all. I believe it would be cool if the image would have been output of matlab2tikz. – Christian Feuersänger Sep 18 '13 at 18:36
• @Nico m2t doesnot work on the last image. I haven't tried with the simpler image (without transparecy, hue etc) though. Can you pleaase run the matlab code above and see if you can modify m2t so that it converts? I don't like to simplify the image :) – user11232 Sep 25 '13 at 22:23

A more playful proposal

It's a pity TikZ does not have a mascot!

• This has amused me quite exceptionally. Great idea! :-D – Harold Cavendish Oct 18 '13 at 19:51

\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[font=\Huge\bfseries]
{\textbackslash\hspace{-1ex} \includegraphics[height=19pt,trim=0 150 0 0]{matlablogo};};
\end{tikzpicture}
\end{document}


Matlab Logo is taken from here under the impression that it is CC license. But I'm pretty sure mathworks will try to deny that. So it's best to change a color tiny bit and change the view angle exactly 1 degrees such that it's not the official logo any more but a mathematical function that has nothing to do with mathworks.

• I'm not a lawyer, but I think it'd be hard to get away with a 1-degree change in the view angle. That would mean that the smallest correction (e.g., changing one pixel) obliterates an entire design. We could possibly use the membrane plot though. – Nico Schlömer Sep 18 '13 at 15:25
• @Nico You never know. Depends on your lawyer :) Vairis' plot might save you anyhow with mesh lines. – percusse Sep 18 '13 at 16:18

## Version 1

I tried something like this in MATLAB:

surf(membrane), view(-52,30), axis off


Plus my favorite package (thank you @Nico):

matlab2tikz(['C:\...\logo.tex'])


Put this line to add the text in the logo file (tikZ):

\path (9,5) node[left,scale=6,rotate=15]{\LaTeX};


Included it in a file with all the necessary preambules

\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pstricks}


And came up with this:

Feel free to change stuff. Just wanted to add something to the community.

## Version 2

Made a draft version with Sketch ->TeX for the arm (default example + tweaks) and MATLAB->TeX for the logo.

If interested, I can add all the parameters and code later.

• If you need the complete files, let me know ;) – Vairis Sep 18 '13 at 13:28
• Hahaha great! it's like matlab, Che cavolo dici? gesture – percusse Sep 19 '13 at 8:49
• @percusse your comment made my day – Vairis Sep 19 '13 at 8:56
• @percusse found this comment a year later, made my day again. After this post I am actually using this phrase here and there... So - lifechanging, I guess – Vairis Nov 12 '14 at 9:42
• Haha great. Fun is the cure to life !! – percusse May 29 '15 at 21:18

This may also serve as a starting point for something fancier - I'm no designer and my creativity is not great in the graphical department.

Here's a simple logo:

It can be easily altered to fit a horizontal format or to have a dark background.

Fun contribution in the style of David O'Reilly from someone who wants to remain anonymous.

• I think the very much speaks to the average MATLAB user. ;) – Nico Schlömer Sep 29 '13 at 13:14
• Comic Sans? Oh lord... – Holene Sep 30 '13 at 8:37
• This must have been designed by MathWorks for OS X! ;-) – Harold Cavendish Oct 18 '13 at 19:52