-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorbar.tikz
47 lines (41 loc) · 1.16 KB
/
colorbar.tikz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% This file was created by matplotlib v0.1.0.
% Copyright (c) 2010--2014, Nico Schlömer <[email protected]>
% All rights reserved.
%
% The lastest updates can be retrieved from
%
% https://github.com/nschloe/matplotlib2tikz
%
% where you can also submit bug reports and leavecomments.
%
\begin{tikzpicture}
\begin{axis}[
title={$|v|$},
xmin=0, xmax=0.05,
ymin=0, ymax=1,
axis on top,
width=\figurewidth,
height=\figureheight,
scaled x ticks=false,
xtick={,,},
xticklabels={,,},
extra y ticks={
\pgfkeysvalueof{/pgfplots/ymin},
\pgfkeysvalueof{/pgfplots/ymax}
},
every extra y tick/.style={
font=\large,
tick style=transparent,
yticklabel pos=right,
/pgf/number format/.cd,
fixed,
precision=3
},
]
\addplot graphics [includegraphics cmd=\pgfimage,xmin=0, xmax=0.05, ymin=0, ymax=1] {img1.png};
\path [draw=black, fill opacity=0] (axis cs:13,1)--(axis cs:13,1);
\path [draw=black, fill opacity=0] (axis cs:0.05,13)--(axis cs:0.05,13);
\path [draw=black, fill opacity=0] (axis cs:13,1.38777878078145e-17)--(axis cs:13,1.38777878078145e-17);
\path [draw=black, fill opacity=0] (axis cs:0,13)--(axis cs:0,13);
\end{axis}
\end{tikzpicture}