我正在使用 baposter 类准备一张海报。我有一张需要颜色条才能理解的图片。这张 tikz 图片的代码如下:
\begin{tikzpicture}
\begin{axis}[%
width=4cm,
height=3cm,
at={(0.756in,0.481in)},
scale only axis,
point meta min=-150,
point meta max=0,
axis on top,
xmin=-90.0879765395894,
xmax=90.0879765395894,
ymin=-0.500488758553275,
ymax=0.500488758553275,
yticklabel shift={.15cm},
xticklabel shift={.2cm},
xticklabels={,,},
y label style={at={(axis description cs:0.04,.5)},rotate=0,anchor=south},
ylabel style={font=\color{white!15!black}},
ylabel={Normalized frequency},
axis background/.style={fill=white},
colormap/jet,
colorbar,
colorbar style={
yticklabel shift={.15cm}}
]
\addplot [forget plot] graphics [xmin=-90.0879765395894, xmax=90.0879765395894, ymin=-0.500488758553275, ymax=0.500488758553275] {TX-poster-1.png};
\end{axis}
\end{tikzpicture}
虽然它在 IEEEtran 类中运行良好,但我得到的是以下内容
有人知道我该怎么做才能正确获取彩色图喷气机的彩色条吗?它太暗了!
提前非常感谢您!
请在此处找到一个最小示例(完整文档):
\documentclass[landscape,a0paper,fontscale=0.33]{baposter}
\usepackage{xcolor}
\selectcolormodel{cmyk}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{palatino}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{relsize}
\usepackage{pgfplots}
\usepackage{tikz}
\usepackage{multicol}
\begin{document}
\begin{poster}
{
headerborder=closed,
colspacing=1em,
bgColorOne=white,
bgColorTwo=white,
borderColor=ballblue,
headerColorOne=ballblue,
headerColorTwo=ballblue,
headerFontColor=white,
boxColorOne=white,
textborder=roundedleft,
eyecatcher=true,
headerheight=0.15\textheight,
headershape=roundedright,
headerfont=\Large\bf\textsc,
%textfont={\setlength{\parindent}{1.5em}},
linewidth=2pt
}
\headerbox{Numerical Examples}{name=examples,column=1,span=2,below=min_norm,bottomaligned=problem}{
\end{center}
\begin{multicols}{2}
\begin{itemize}[leftmargin=1em, noitemsep]
\item ST-PSD at TX (up) and RX (down)
\end{itemize}
\begin{center}
\begin{minipage}[b]{0.45\textwidth}
\input{TX-poster.tikz}
\end{minipage}
\hspace{0.5em}
\begin{minipage}[b]{0.45\textwidth}
\input{RX-poster.tikz}
\end{minipage}
\end{center}
}
\end{poster}
\end{document}