Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Labelling each curve and changing grid in ParametricPlot
Replies: 1   Last Post: Feb 3, 2013 2:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Themis Matsoukas

Posts: 316
From: Penn State
Registered: 6/20/10
Re: Labelling each curve and changing grid in ParametricPlot
Posted: Feb 3, 2013 2:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.