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:
Please find attached source files.
Thanks!
-Marko
Search found 18 matches
- Tue Apr 05, 2016 11:15 am
- Forum: Graphics, Figures & Tables
- Topic: Surface plot with pgfplots
- Replies: 2
- Views: 2565
- Mon Apr 04, 2016 11:31 pm
- Forum: Graphics, Figures & Tables
- Topic: Surface plot with pgfplots
- Replies: 2
- Views: 2565
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 ...
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 ...
- Tue Dec 22, 2015 3:38 pm
- Forum: Graphics, Figures & Tables
- Topic: Axes grid on top of the pin when using gnuplot
- Replies: 1
- Views: 3021
Axes grid on top of the pin when using gnuplot
I finally managed to find a solution.
Just add the command
Best,
Marko.
Just add the command
set layers
inside axis options.Best,
Marko.
- Wed Dec 16, 2015 11:19 pm
- Forum: Graphics, Figures & Tables
- Topic: Axes grid on top of the pin when using gnuplot
- Replies: 1
- Views: 3021
Axes grid on top of the pin when using gnuplot
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 ...
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 ...
- Sun Oct 19, 2014 3:59 pm
- Forum: Math & Science
- Topic: Big matrix equation and matrix rows vertical alignment
- Replies: 6
- Views: 8499
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 ...
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 ...
- Sat Oct 18, 2014 6:08 pm
- Forum: Math & Science
- Topic: Big matrix equation and matrix rows vertical alignment
- Replies: 6
- Views: 8499
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 ...
\documentclass[conference]{article}
\usepackage[cmex10]{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\newcommand*{\mathminus}{%
\leavevmode
\hphantom{0}%
\llap{%
\settowidth{\dimen0 }{$0$}%
\resizebox{1.1\dimen0 }{\height ...
- Sat Oct 18, 2014 3:34 pm
- Forum: Math & Science
- Topic: Big matrix equation and matrix rows vertical alignment
- Replies: 6
- Views: 8499
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.
- Sat Oct 18, 2014 10:41 am
- Forum: Math & Science
- Topic: Big matrix equation and matrix rows vertical alignment
- Replies: 6
- Views: 8499
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.
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.
- Tue Feb 04, 2014 11:05 pm
- Forum: Fonts & Character Sets
- Topic: Questions and discussions about the MPro Installation Guide
- Replies: 15
- Views: 23844
Questions and discussions about the MPro Installation Guide
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.
Any ...
\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.
Any ...
- Sat Sep 08, 2012 4:58 pm
- Forum: Graphics, Figures & Tables
- Topic: Cross referencing subfigures
- Replies: 1
- Views: 2135
Re: Cross referencing subfigures
I managed to solve the problem using subref instead of ref for cross referencing subfigures.