I have the problem, that I can't change the location of my ylable. They are located both and the same side. What ever I tried to do, I am not getting them on different sides. I want to have the plot like that:
ylabels left side minimum left value all the top ... line in the picture I provided. x from -180...180 colorbar on the right side
I think it is messed up because I am rotating the surf plot.
\begin{tikzpicture}
\begin{axis}[
view={0}{-90},
% % view={0}{-90},
% xlabel=$x$,
% ylabel=$y$,
% colorbar left,
title = Received Power in dB,
% xlabel = Angle in Degree,
% xmin=-180, xmax=180, grid=major,
xtick={-180,-150,..., 180},
% title=View from top,
% ylabel style={align=right},
yticklabel pos=left,
width=0.8\textwidth]
\addplot3[surf,mesh/rows=25,mesh/cols=90, mesh/ordering=y varies] table{images/5-FieldTrials/img_dats/ft_test.dat};
\end{axis}
\end{tikzpicture}
the data file I used is this ...
-1.8000000e+002 -1.8400000e+001 -3.5069693e+001
-1.6500000e+002 -1.8400000e+001 -3.2140668e+001
-1.5000000e+002 -1.8400000e+001 -3.0955007e+001
-1.3500000e+002 -1.8400000e+001 -3.3567900e+001
-1.2000000e+002 -1.8400000e+001 -3.5525557e+001
-1.0500000e+002 -1.8400000e+001 -3.0409761e+001
-9.0000000e+001 -1.8400000e+001 -2.6075223e+001
-7.5000000e+001 -1.8400000e+001 -2.5677335e+001
-6.0000000e+001 -1.8400000e+001 -2.9248069e+001
-4.5000000e+001 -1.8400000e+001 -2.9936167e+001
-3.0000000e+001 -1.8400000e+001 -3.9938917e+001
-1.5000000e+001 -1.8400000e+001 -2.9954948e+001
0.0000000e+000 -1.8400000e+001 -3.6605382e+001
1.5000000e+001 -1.8400000e+001 -3.6605382e+001
3.0000000e+001 -1.8400000e+001 -3.9737221e+001
4.5000000e+001 -1.8400000e+001 -3.8939401e+001
6.0000000e+001 -1.8400000e+001 -3.3260847e+001
7.5000000e+001 -1.8400000e+001 -2.7739007e+001
9.0000000e+001 -1.8400000e+001 -3.8495181e+001
1.0500000e+002 -1.8400000e+001 -3.3628687e+001
1.2000000e+002 -1.8400000e+001 -3.7597417e+001
1.3500000e+002 -1.8400000e+001 -3.9304045e+001
1.5000000e+002 -1.8400000e+001 -3.9298197e+001
1.6500000e+002 -1.8400000e+001 -3.6501155e+001
1.8000000e+002 -1.8400000e+001 -3.1771159e+001
-1.8000000e+002 -1.7894382e+001 -3.5396621e+001
-1.6500000e+002 -1.7894382e+001 -3.1812082e+001
-1.5000000e+002 -1.7894382e+001 -3.1024403e+001
-1.3500000e+002 -1.7894382e+001 -3.4043075e+001
-1.2000000e+002 -1.7894382e+001 -3.6384572e+001
-1.0500000e+002 -1.7894382e+001 -3.0889120e+001
-9.0000000e+001 -1.7894382e+001 -2.6610006e+001
-7.5000000e+001 -1.7894382e+001 -2.6088705e+001
-6.0000000e+001 -1.7894382e+001 -2.9566243e+001
-4.5000000e+001 -1.7894382e+001 -3.0605040e+001
-3.0000000e+001 -1.7894382e+001 -4.0807972e+001
-1.5000000e+001 -1.7894382e+001 -2.9954219e+001
0.0000000e+000 -1.7894382e+001 -3.6190117e+001
1.5000000e+001 -1.7894382e+001 -3.6190117e+001
3.0000000e+001 -1.7894382e+001 -3.9643382e+001
4.5000000e+001 -1.7894382e+001 -3.9953920e+001
6.0000000e+001 -1.7894382e+001 -3.2553613e+001
7.5000000e+001 -1.7894382e+001 -2.7857679e+001
9.0000000e+001 -1.7894382e+001 -3.8496596e+001
1.0500000e+002 -1.7894382e+001 -3.4679726e+001
1.2000000e+002 -1.7894382e+001 -3.7715156e+001
1.3500000e+002 -1.7894382e+001 -3.9865187e+001
1.5000000e+002 -1.7894382e+001 -3.8655482e+001
1.6500000e+002 -1.7894382e+001 -3.6874160e+001
1.8000000e+002 -1.7894382e+001 -3.2587559e+001
-1.8000000e+002 -1.7388764e+001 -3.5637026e+001
-1.6500000e+002 -1.7388764e+001 -3.1630636e+001
-1.5000000e+002 -1.7388764e+001 -3.1156415e+001
-1.3500000e+002 -1.7388764e+001 -3.4553928e+001
-1.2000000e+002 -1.7388764e+001 -3.7317158e+001
-1.0500000e+002 -1.7388764e+001 -3.1396195e+001
-9.0000000e+001 -1.7388764e+001 -2.7110324e+001
-7.5000000e+001 -1.7388764e+001 -2.6572328e+001
-6.0000000e+001 -1.7388764e+001 -2.9928623e+001
-4.5000000e+001 -1.7388764e+001 -3.1361572e+001
-3.0000000e+001 -1.7388764e+001 -4.0997259e+001
-1.5000000e+001 -1.7388764e+001 -3.0082638e+001
0.0000000e+000 -1.7388764e+001 -3.5697537e+001
1.5000000e+001 -1.7388764e+001 -3.5697537e+001
3.0000000e+001 -1.7388764e+001 -3.9369804e+001
4.5000000e+001 -1.7388764e+001 -4.0126643e+001
6.0000000e+001 -1.7388764e+001 -3.1922097e+001
7.5000000e+001 -1.7388764e+001 -2.8129910e+001
9.0000000e+001 -1.7388764e+001 -3.8777491e+001
1.0500000e+002 -1.7388764e+001 -3.5913894e+001
1.2000000e+002 -1.7388764e+001 -3.7584751e+001
1.3500000e+002 -1.7388764e+001 -4.0352540e+001
1.5000000e+002 -1.7388764e+001 -3.8304870e+001
1.6500000e+002 -1.7388764e+001 -3.7390350e+001
1.8000000e+002 -1.7388764e+001 -3.3504513e+001
I tried to relocate the colorbar and the ylabels. Nothing seems to work. Thanks for your hints
filecontentsenvironment. – T. Verron Feb 15 at 10:14axisoptions, and it doesn't reproduce the issue because theylabelis commented out. Also, please try to clarify the problem: What do you mean with "they are located both on the same side"? Why "both"? There's only oneylabel. – Jake Feb 15 at 10:30