Search found 18 matches

by mgulin
Tue Apr 05, 2016 11:15 am
Forum: Graphics, Figures & Tables
Topic: Surface plot with pgfplots
Replies: 2
Views: 1223

Re: Surface plot with pgfplots

Here is the MATLAB code. The single_diode_surface.txt in MATLAB_code.zip file is the same as the one posted in the first post.

I managed to get contour plot in LaTeX by using GNU plot:
contour.png
contour.png (45.6 KiB) Viewed 1202 times

Please find attached source files.

Thanks!

-Marko
by mgulin
Mon Apr 04, 2016 11:31 pm
Forum: Graphics, Figures & Tables
Topic: Surface plot with pgfplots
Replies: 2
Views: 1223

Surface plot with pgfplots

Hi all! I'm trying to plot a surface using pgfplots. Here is the MATLAB-generated surface plot, that is what I'm trying to get with pgfplots: MATLAB.png What I'm getting with pgfplots is this: pgfplots.png Please find attached the .tex code and the .txt file with data. P.S. I also have GNU plots ins...
by mgulin
Tue Dec 22, 2015 3:38 pm
Forum: Graphics, Figures & Tables
Topic: Axes grid on top of the pin when using gnuplot Topic is solved
Replies: 1
Views: 1645

Re: Axes grid on top of the pin when using gnuplot Topic is solved

I finally managed to find a solution.

Just add the command set layers inside axis options.

Best,
Marko.
by mgulin
Wed Dec 16, 2015 11:19 pm
Forum: Graphics, Figures & Tables
Topic: Axes grid on top of the pin when using gnuplot Topic is solved
Replies: 1
Views: 1645

Axes grid on top of the pin when using gnuplot Topic is solved

Hi all! I've encountered a strange behaviour when using a contour gnuplot, where the axes grid is on top of the pin (please see the image below). problem.png Here is the code I used: \documentclass[10pt]{IEEEtran} \usepackage{pgfplots} \usepackage[active,pdftex,tightpage]{preview} \PreviewEnvironmen...
by mgulin
Sun Oct 19, 2014 3:59 pm
Forum: Math & Science
Topic: Big matrix equation and matrix rows vertical alignment
Replies: 6
Views: 3470

Re: Big matrix equation and matrix rows vertical alignment

Wow, thanks! This was very helpful. Why \[ and \] are used, what do they do? And why bmatrix* environment, because of the alignment? Another issuse: now that you've aligned contents to the right, the right bracket is too close to contents. I can add hphantom to all entries, but is there any way to d...
by mgulin
Sat Oct 18, 2014 6:08 pm
Forum: Math & Science
Topic: Big matrix equation and matrix rows vertical alignment
Replies: 6
Views: 3470

Re: Big matrix equation and matrix rows vertical alignment

Here I post the code without \vphantom hack: \documentclass[conference]{article} \usepackage[cmex10]{amsmath} \usepackage{amssymb} \usepackage{graphicx} \newcommand*{\mathminus}{% \leavevmode \hphantom{0}% \llap{% \settowidth{\dimen0 }{$0$}% \resizebox{1.1\dimen0 }{\height}{$-$}% }% } \begin{documen...
by mgulin
Sat Oct 18, 2014 3:34 pm
Forum: Math & Science
Topic: Big matrix equation and matrix rows vertical alignment
Replies: 6
Views: 3470

Re: Big matrix equation and matrix rows vertical alignment

I did the hack with \vphantom, but that is not elegant solution. I hope there is a package that enables this.
by mgulin
Sat Oct 18, 2014 10:41 am
Forum: Math & Science
Topic: Big matrix equation and matrix rows vertical alignment
Replies: 6
Views: 3470

Big matrix equation and matrix rows vertical alignment

Hi all!

Is it possible to align rows of 2 matrices, please see attached fig for example. Rows are not aligned, but I want them to be, so that the equation is more intuitive.

Thanks!

Best,
Marko.
by mgulin
Tue Feb 04, 2014 11:05 pm
Forum: Fonts & Character Sets
Topic: Questions and discussions about the MPro Installation Guide
Replies: 15
Views: 14781

Re: Questions and discussions about the MPro Installation Gu

I did everything by the tutorial, but when I tried to execute following simple "program" \documentclass[a4paper]{article} \usepackage{MinionPro} \begin{document} Just another test. \end{document} it couldn't compile with following error: ! LaTeX Error: File `MinionPro.sty' not found. A...
by mgulin
Sat Sep 08, 2012 4:58 pm
Forum: Graphics, Figures & Tables
Topic: Cross referencing subfigures Topic is solved
Replies: 1
Views: 816

Re: Cross referencing subfigures Topic is solved

I managed to solve the problem using subref instead of ref for cross referencing subfigures.

Go to advanced search