Re: [Pgfplots-features] xticklabels around circle, polar plot
Brought to you by:
cfeuersaenger,
ludewich
From: Christian F. <cfe...@go...> - 2014-12-29 11:26:29
|
Hi Bill, thanks for your request! Since the question might be of general interest, I posted a copy of your question with a minimal example and a double-solution on http://tex.stackexchange.com/questions/219469/pgfplots-polar-axis-can-i-draw-angle-labels-rotated-as-for-smith-charts/219470#219470 . I hope this addresses your issue. Kind regards Christian Am 16.12.2014 20:39, schrieb William: > In Smith Plots, there is an option , "yticklabel around circle". I > would like to achieve something similar on a polar axis. > Is there a way to do this? > It would be useful to provide tick labels in either tangential or > radial alignment. > > Thanks, > > Bill > > > > Details: > > I am using this online compiler: > http://latex.informatik.uni-halle.de/latex-online/latex.php > > with the code below. > > I would like the tick labels on the inner scale to be either > tangential or radial. > > > \documentclass{standalone} > \renewcommand{\familydefault}{\sfdefault} > \usepackage{pgfplots} > \usepgfplotslibrary{smithchart} > \usepgfplotslibrary{polar} % LATEX and plain TEX > \begin{document} > \begin{tikzpicture}[scale=1] > \begin{polaraxis}[ > anchor = center, > xtick={0,9,...,360}, > xticklabels = {1.50, {},1.40, {},1.30, {},1.20,{},1.10,{}, 1.00,{}, > 2.90, {},2.80,{}, 2.70,{}, 2.60,{}, 2.50, {},2.40, {},2.30,{}, 2.20, > {},2.10, {},2.00, {},1.90, {},1.80,{}, 1.70,{}, 1.60,{}}, > minor x tick num = 5, > minor tick length = -0.3cm, > major tick length = -0.5cm, > tick style ={black}, > title style = {font=\Huge}, > ytick ={0,.95,1}, > yticklabels = {}, > ymin=0.9, > ymax=1, > font=\Large, > width=20cm] > \addplot coordinates {(2,2)}; > \end{polaraxis} > > \begin{polaraxis}[ > xmin = 0, > xmax = 90, > xtick={90,85.7480315,81.29032258,76.61157025,71.69491525,66.52173913,61.07142857,55.32110092,49.24528302,42.81553398,36}, > xticklabels = > {{0\%},{10\%},{20\%},{30\%},{40\%},{50\%},{60\%},{70\%},{80\%},{90\%},{100\%}}, > minor x tick num = 5, > minor tick length = -0.3cm, > major tick length = -0.5cm, > tick style ={black}, > title style = {font=\small}, > ytick ={0,.95,1}, > yticklabels = {}, > yticklabel around circle, > ymin=0.7, > ymax=1, > font=\Large, > width=16cm] > \addplot coordinates {(2,2)}; > \end{polaraxis} > > > > > \end{tikzpicture} > \end{document} > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > > > _______________________________________________ > Pgfplots-features mailing list > Pgf...@li... > https://lists.sourceforge.net/lists/listinfo/pgfplots-features |