Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13356 > unrolled thread

Re: Labelling each curve and changing grid in ParametricPlot

Started byThemis Matsoukas <tmatsoukas@me.com>
First post2013-02-03 07:49 +0000
Last post2013-02-03 07:49 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Labelling each curve and changing grid in ParametricPlot Themis Matsoukas <tmatsoukas@me.com> - 2013-02-03 07:49 +0000

#13356 — Re: Labelling each curve and changing grid in ParametricPlot

FromThemis Matsoukas <tmatsoukas@me.com>
Date2013-02-03 07:49 +0000
SubjectRe: Labelling each curve and changing grid in ParametricPlot
Message-ID<kel4q7$38b$1@smc.vnet.net>
Here is one way to label the curves:

plot[\[Tau]_, \[CapitalOmega]_] := 
 Module[{arg, abs}, {arg, abs} = 
   Through[{Arg, 
      Abs}[(1 + I*2*\[CapitalOmega])/(1 + 
        I*2*\[Tau]*\[CapitalOmega])]];
  {arg/Degree, 20*Log10[abs]}]

\[Tau]list = {7, 8, 9, 10, 11, 12, 13, 14, 15};

txtlist = 
  Table[plot[\[Tau], \[CapitalOmega]], {\[Tau], \[Tau]list}] /. \
\[CapitalOmega] -> -0.52;

Show[ParametricPlot[
  Table[plot[\[Tau], \[CapitalOmega]], {\[Tau], \[Tau]list}], {\
\[CapitalOmega], -0.5, -0.01}, AspectRatio -> 1, 
  GridLines -> Automatic, GridLinesStyle -> Dashed, 
  ImageSize -> Large], 
 Graphics[Table[
   Text[\[Tau]list[[ii]], txtlist[[ii]]], {ii, 
    1, \[Tau]list // Length}]]]

I am not sure what exactly you want to do with the grid but you can specify your own regular or irregular grid using the option GridLines. See the examples in documentation. 

Themis

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web