I want to generate the following plot in Mathematica in red color:(adsbygoogle = window.adsbygoogle || []).push({});

The above code creates the plot in default black color. So, I tried using this code to make it red:Code (Text):x[t_] := 31 Cos[t] - 7 Cos[31 t/7];

y[t_] := 31 Sin[t] - 7 Sin[31 t/7];

ParametricPlot[{x[t], y[t]}, {t, 0, 19 \[Pi]}]

Unfortunently it doesn't work and I get errors. Can anybody help with this?Code (Text):x[t_] := 31 Cos[t] - 7 Cos[31 t/7];

y[t_] := 31 Sin[t] - 7 Sin[31 t/7];

ParametricPlot[[{x[t], y[t]}, {t, 0, 19 \[Pi]}],

PlotStyle -> {{RGBColor[1,0,0]}}]

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Changing Plot Color in Mathematica

Loading...

Similar Threads - Changing Plot Color | Date |
---|---|

Matlab -- how can i use a FOR loop if I have 2 variables changing | Oct 12, 2016 |

LaTeX Changing the order of references using bibtex to sequential | Mar 8, 2016 |

How to change heading size Bibliography | Apr 23, 2015 |

Line changing color latex tikz | Mar 6, 2015 |

Matlab - Change parameters of equation while plot displayed | Jun 16, 2014 |

**Physics Forums - The Fusion of Science and Community**