Экспорт Matplotlib в формате pgf: supylabel смещенPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 Экспорт Matplotlib в формате pgf: supylabel смещен

Сообщение Anonymous »

Я пытаюсь добавить supylabel к двум подграфикам в matplotlib и экспортировать результат как .pgf. Однако supylabel явно не центрирован.
Это код Python:

Код: Выделить всё

fig, axes = pyplot.subplots(
2,
1,
figsize=(3, 3),
squeeze=True,
sharex=True,
sharey=True,
layout="constrained"
)

xy = numpy.linspace(-80, 70)
z = numpy.zeros((len(xy), len(xy)))

supylabel_text = fig.supylabel("Super-y axis label")

for i in range(2):
ax: pyplot.Axes = axes[i]
im = ax.pcolormesh(
xy, xy, z, shading="gouraud", rasterized=True
)
ax.set_aspect("equal")
# Remove all ticks and labels, see comment.
# ax.get_xaxis().set_visible(False)
# ax.get_yaxis().set_visible(False)

fig.savefig("test_supy.pgf")
fig.savefig("test_supy.pgf.pdf")
Это рисунок, визуализированный внутри латексного документа:
Изображение

Очевидно, что надстрочная метка висит слишком низко. Интересно, что в PDF-файле, который также экспортирован из приведенного выше кода, он размещен правильно:
Изображение

Это сгенерированный PGF:

Код: Выделить всё

\begingroup%
\makeatletter%
\begin{pgfpicture}%
\pgfpathrectangle{\pgfpointorigin}{\pgfqpoint{3.000000in}{3.000000in}}%
\pgfusepath{use as bounding box,  clip}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetmiterjoin%
\definecolor{currentfill}{rgb}{1.000000,1.000000,1.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.000000pt}%
\definecolor{currentstroke}{rgb}{1.000000,1.000000,1.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{3.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{3.000000in}{3.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{3.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathclose%
\pgfusepath{fill}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetmiterjoin%
\definecolor{currentfill}{rgb}{1.000000,1.000000,1.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.000000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetstrokeopacity{0.000000}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.984049in}{1.681793in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{1.681793in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{2.958330in}}%
\pgfpathlineto{\pgfqpoint{0.984049in}{2.958330in}}%
\pgfpathlineto{\pgfqpoint{0.984049in}{1.681793in}}%
\pgfpathclose%
\pgfusepath{fill}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsys@transformshift{0.980000in}{1.680000in}%
\pgftext[left,bottom]{\includegraphics[interpolate=true,width=1.280000in,height=1.280000in]{test_supy-img0.png}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{1.239357in}{1.681793in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{1.664869in}{1.681793in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{2.090381in}{1.681793in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{1.937100in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.602071in, y=1.884339in, left,  base]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}\ensuremath{-}50}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{2.362613in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.798462in, y=2.309851in, left, base]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}0}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{2.788125in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.710096in, y=2.735364in, left,  b a s e ] { \ c o l o r { t e x t c o l o r } { \ s f f a m i l y \ f o n t s i z e { 1 0 . 0 0 0 0 0 0 } { 1 2 . 0 0 0 0 0 0 } \ s e l e c t f o n t \ c a t c o d e ` \ ^ = \ a c t i v e \ d e f ^ { \ i f m m o d e \ s p \ e l s e \ ^ { } \ f i } \ c a t c o d e ` \ % = \ a c t i v e \ d e f % { \ % } 5 0 } } % < b r   / > \ e n d { p g f s c o p e } % < b r   / > \ b e g i n { p g f s c o p e } % < b r   / > \ p g f s e t r e c t c a p % < b r   / > \ p g f s e t m i t e r j o i n % < b r   / > \ p g f s e t l i n e w i d t h { 0 . 8 0 3 0 0 0 p t } % < b r   / > \ d e f i n e c o l o r { c u r r e n t s t r o k e } { r g b } { 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t s t r o k e c o l o r { c u r r e n t s t r o k e } % < b r   / > \ p g f s e t d a s h { } { 0 p t } % < b r   / > \ p g f p a t h m o v e t o { \ p g f q p o i n t { 0 . 9 8 4 0 4 9 i n } { 1 . 6 8 1 7 9 3 i n } } % < b r   / > \ p g f p a t h l i n e t o { \ p g f q p o i n t { 0 . 9 8 4 0 4 9 i n } { 2 . 9 5 8 3 3 0 i n } } % < b r   / > \ p g f u s e p a t h { s t r o k e } % < b r   / > \ e n d { p g f s c o p e } % < b r   / > \ b e g i n { p g f s c o p e } % < b r   / > \ p g f s e t r e c t c a p % < b r   / > \ p g f s e t m i t e r j o i n % < b r   / > \ p g f s e t l i n e w i d t h { 0 . 8 0 3 0 0 0 p t } % < b r   / > \ d e f i n e c o l o r { c u r r e n t s t r o k e } { r g b } { 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t s t r o k e c o l o r { c u r r e n t s t r o k e } % < b r   / > \ p g f s e t d a s h { } { 0 p t } % < b r   / > \ p g f p a t h m o v e t o { \ p g f q p o i n t { 2 . 2 6 0 5 8 6 i n } { 1 . 6 8 1 7 9 3 i n } } % < b r   / > \ p g f p a t h l i n e t o { \ p g f q p o i n t { 2 . 2 6 0 5 8 6 i n } { 2 . 9 5 8 3 3 0 i n } } % < b r   / > \ p g f u s e p a t h { s t r o k e } % < b r   / > \ e n d { p g f s c o p e } % < b r   / > \ b e g i n { p g f s c o p e } % < b r   / > \ p g f s e t r e c t c a p % < b r   / > \ p g f s e t m i t e r j o i n % < b r   / > \ p g f s e t l i n e w i d t h { 0 . 8 0 3 0 0 0 p t } % < b r   / > \ d e f i n e c o l o r { c u r r e n t s t r o k e } { r g b } { 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t s t r o k e c o l o r { c u r r e n t s t r o k e } % < b r   / > \ p g f s e t d a s h { } { 0 p t } % < b r   / > \ p g f p a t h m o v e t o { \ p g f q p o i n t { 0 . 9 8 4 0 4 9 i n } { 1 . 6 8 1 7 9 3 i n } } % < b r   / > \ p g f p a t h l i n e t o { \ p g f q p o i n t { 2 . 2 6 0 5 8 6 i n } { 1 . 6 8 1 7 9 3 i n } } % < b r   / > \ p g f u s e p a t h { s t r o k e } % < b r   / > \ e n d { p g f s c o p e } % < b r   / > \ b e g i n { p g f s c o p e } % < b r   / > \ p g f s e t r e c t c a p % < b r   / > \ p g f s e t m i t e r j o i n % < b r   / > \ p g f s e t l i n e w i d t h { 0 . 8 0 3 0 0 0 p t } % < b r   / > \ d e f i n e c o l o r { c u r r e n t s t r o k e } { r g b } { 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t s t r o k e c o l o r { c u r r e n t s t r o k e } % < b r   / > \ p g f s e t d a s h { } { 0 p t } % < b r   / > \ p g f p a t h m o v e t o { \ p g f q p o i n t { 0 . 9 8 4 0 4 9 i n } { 2 . 9 5 8 3 3 0 i n } } % < b r   / > \ p g f p a t h l i n e t o { \ p g f q p o i n t { 2 . 2 6 0 5 8 6 i n } { 2 . 9 5 8 3 3 0 i n } } % < b r   / > \ p g f u s e p a t h { s t r o k e } % < b r   / > \ e n d { p g f s c o p e } % < b r   / > \ b e g i n { p g f s c o p e } % < b r   / > \ p g f s e t b u t t c a p % < b r   / > \ p g f s e t m i t e r j o i n % < b r   / > \ d e f i n e c o l o r { c u r r e n t f i l l } { r g b } { 1 . 0 0 0 0 0 0 , 1 . 0 0 0 0 0 0 , 1 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t f i l l c o l o r { c u r r e n t f i l l } % < b r   / > \ p g f s e t l i n e w i d t h { 0 . 0 0 0 0 0 0 p t } % < b r   / > \ d e f i n e c o l o r { c u r r e n t s t r o k e } { r g b } { 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 , 0 . 0 0 0 0 0 0 } % < b r   / > \ p g f s e t s t r o k e c o l o r { c u r r e n t s t r o k e}%
\pgfsetstrokeopacity{0.000000}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.984049in}{0.273305in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{0.273305in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{1.549842in}}%
\pgfpathlineto{\pgfqpoint{0.984049in}{1.549842in}}%
\pgfpathlineto{\pgfqpoint{0.984049in}{0.273305in}}%
\pgfpathclose%
\pgfusepath{fill}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsys@transformshift{0.980000in}{0.270000in}%
\pgftext[left,bottom]{\includegraphics[interpolate=true,width=1.280000in,height=1.280000in]{test_supy-img1.png}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{1.239357in}{0.273305in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=1.239357in,y=0.176083in,,top]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}\ensuremath{-}50}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{1.664869in}{0.273305in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=1.664869in,y=0.176083in,,top]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}0}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{0.000000in}{-0.048611in}}{\pgfqpoint{0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{0.000000in}{-0.048611in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{2.090381in}{0.273305in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=2.090381in,y=0.176083in,,top]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}50}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{0.528612in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.602071in,  y=0.475851in, left, base]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}\ensuremath{-}50}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{0.954125in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.798462in, y=0.901363in, left, base]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}0}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetbuttcap%
\pgfsetroundjoin%
\definecolor{currentfill}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetfillcolor{currentfill}%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfsys@defobject{currentmarker}{\pgfqpoint{-0.048611in}{0.000000in}}{\pgfqpoint{-0.000000in}{0.000000in}}{%
\pgfpathmoveto{\pgfqpoint{-0.000000in}{0.000000in}}%
\pgfpathlineto{\pgfqpoint{-0.048611in}{0.000000in}}%
\pgfusepath{stroke,fill}%
}%
\begin{pgfscope}%
\pgfsys@transformshift{0.984049in}{1.379637in}%
\pgfsys@useobject{currentmarker}{}%
\end{pgfscope}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.710096in, y=1.326875in, left, base]{\color{textcolor}{\sffamily\fontsize{10.000000}{12.000000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}50}}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetrectcap%
\pgfsetmiterjoin%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.984049in}{0.273305in}}%
\pgfpathlineto{\pgfqpoint{0.984049in}{1.549842in}}%
\pgfusepath{stroke}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetrectcap%
\pgfsetmiterjoin%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{2.260586in}{0.273305in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{1.549842in}}%
\pgfusepath{stroke}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetrectcap%
\pgfsetmiterjoin%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.984049in}{0.273305in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{0.273305in}}%
\pgfusepath{stroke}%
\end{pgfscope}%
\begin{pgfscope}%
\pgfsetrectcap%
\pgfsetmiterjoin%
\pgfsetlinewidth{0.803000pt}%
\definecolor{currentstroke}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{currentstroke}%
\pgfsetdash{}{0pt}%
\pgfpathmoveto{\pgfqpoint{0.984049in}{1.549842in}}%
\pgfpathlineto{\pgfqpoint{2.260586in}{1.549842in}}%
\pgfusepath{stroke}%
\end{pgfscope}%
\begin{pgfscope}%
\definecolor{textcolor}{rgb}{0.000000,0.000000,0.000000}%
\pgfsetstrokecolor{textcolor}%
\pgfsetfillcolor{textcolor}%
\pgftext[x=0.168298in, y=0.761800in, left, base,rotate=90.000000]{\color{textcolor}{\sffamily\fontsize{12.000000}{14.400000}\selectfont\catcode`\^=\active\def^{\ifmmode\sp\else\^{}\fi}\catcode`\%=\active\def%{\%}Super-y axis label}}%
\end{pgfscope}%
\end{pgfpicture}%
\makeatother%
\endgroup%
После удаления всех галочек и меток надпись supylabel по-прежнему смещена:


Подробнее здесь: https://stackoverflow.com/questions/791 ... misaligned
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • Импорт pgf в LaTeX не работает из-за шрифта осей matplotlib
    Anonymous » » в форуме Python
    0 Ответы
    25 Просмотры
    Последнее сообщение Anonymous
  • H1 внутри div был смещен и из ниоткуда применен запас
    Anonymous » » в форуме CSS
    0 Ответы
    25 Просмотры
    Последнее сообщение Anonymous
  • Python: смещенная логарифмическая цветовая полоса, белый цвет смещен к центру.
    Anonymous » » в форуме Python
    0 Ответы
    20 Просмотры
    Последнее сообщение Anonymous
  • QStyledItemDelegate в QTableView смещен
    Anonymous » » в форуме Python
    0 Ответы
    9 Просмотры
    Последнее сообщение Anonymous
  • QStyledItemDelegate в QTableView смещен
    Anonymous » » в форуме Python
    0 Ответы
    10 Просмотры
    Последнее сообщение Anonymous

Вернуться в «Python»