New answers tagged

0

There may be more appropriate solutions, but I did not find any that satisfied my needs. I created a simple script with MATLAB/Octave (that uses LaTeX) to "adjust it manually" with additional fancy features (zooming box, lines and colors). It merges both pictures into one. Thus, if your pdf viewer refresh modified documents, then you can execute the script ...


3

This is just a long comment about doing the drawing in tikz instead. Here are some starting points given without comments, most is explained in the tikz manual, plus there are loads and loads of tikz answers on this site: \documentclass[a4paper]{standalone} \usepackage{tikz,amsmath} \usetikzlibrary{calc,shapes,shapes.geometric} \begin{document} ...


0

I know it's quite late for replies, but I will like to suggest another solution: Using the command diary in Matlab you can export all the command windows print to a specific file and later use one part of @Mike Renfro to import that txt file. I never try that, but it should do the job, and maybe more "elegant", in the meaning you dont have to write the ...


1

Drawing a torus and some axes is super easy with pgfplots. You just plot the parametric equations. \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[axis on top,axis lines=middle,axis equal image] \addplot3[surf,z buffer=sort,domain=0:360,y domain=0:360] ({(3.5 + cos(y))*cos(x)}, {(3.5 + ...


0

The simplest way that worked for me was to save the figure in .svg format in matplotlib. This preserves the LaTeX math symbols rendered by matplotlib when you open in Inkscape



Top 50 recent answers are included