Dear Marco,
thank you for your feedback!
Concerning your three questions in polar plots of the unstable pgfplots
version, I am aware of the following possible solutions:
(i) Moving x axis on vertical axis,
Do you mean the "z axis", i.e. do you want to draw the x axis on top of
the graphics? Then the "axis on top" key might help (alternative like
layered graphics are subject of current development).
(ii) setting x-min and x max, with xmin > xmax (e.g., here for polar
coordinates
x [270 40] and 270 > 40, which is something LaTex does not really like!)
This is due to the fact the the polar library is not yet ready -- some
things are simply not completely implemented yet and will hopefully be
fixed in the next stable release. I remember trying some things like
that - I suppose 270:400 does not work as you wanted?
(iii) adjust (and properly label) units on color bar (name of physical
units ON
it?)
This should be possible (independent of the polar lib). I figure that a
combination of colorbar style and perhaps the units library will do
what you want (or perhaps just 'colorbar
style={ytick={1,2,3},yticklabels={a,b,c}}' or something like that,
please refer to the manual if some keys have other names).
(iv) move the title out of the picture
Again, this is because I have not yet adjusted the default styles for
polar axes. The solution is, in principle, easy: use
'title style={yshift=1cm}' -- but you should use a slightly more
elaborate solution with *absolute* positions (to remain
compatible even after I finished the lib). Perhaps 'title
style={at={(0.5,1.2)}}' or something like that?
I hope my remarks are helpful.
Finally, I understand that you are using matlab to compute contour
lines, then convert the format to something pgfplots understands. Note
that pgfplots also understands the format of precomputed matlab contour
lines directly., which might simplify your processing script. Please
refer to the unstable pgfplots manual, in the section describing
prepared contour line input.
Best regards
Christian
Am 10.02.2011 18:38, schrieb Miani, Marco:
>
> Halo Christian.
>
> Alles Gut?
>
> In these last months I have been working a lot with your polar
> coordinates stuff. Very useful and nice!
>
> I am working with a numerical wave model (SWAN) that can, among many
> other boring things, outputs text files containing spectral
> information (wave energy, *S*). This information needs to be plotted
> in polar coordinates (as a function of frequency (*F*) and travelling
> direction (*D*): the two dependent variables when plotting). And I
> wanted to do that in LaTex.
>
> I plot the contour lines of S over F and D but Latex wants a very
> particular format for doing that, otherwise it will not swallow inputs.
>
> For my convenience I have coding some MatLab lines, where takes the
> input, and spits it out in a LaTex *compatible format* (x y
> contour_value). I could get some pretty good results. But there are
> still some minor details that need to be tuned, mainly axes. Please
> see attached PDF. I have been noting the changes I would like to make.
> Since I am not fit in LaTex hoped you could have a brief look at it.
>
> I enclose Tex file, table file containing numerical values, and the
> PDF output.
> Thank you very much for your precious help.
>
> Cheers
>
> --------------------------------------------------------------------------------------------------
> *Marco Miani**
> *Coastal Research Station // //Forschungsstelle Küste///
> /Coastal Engineering // //Küsteningenieurwesen//
>
> An der Mühle 5, 26548 Norderney, Germany
> Office: +49 4932 916 100 // Mob: +49(0)15203445065
> [email protected]
> <mailto:[email protected]>
> www.nlwkn.de <http://www.nlwkn.de>
> --------------------------------------------------------------------------------------------------////
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features