Qurak

Match curve styles

Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
styles = Sequence@@{ImageSize -> 400, Filling -> Axis, FillingStyle -> Opacity[0.1], PlotRange -> {0.01, All}, AxesOrigin -> {-0.01, 0.01}, PlotStyle -> (Directive[AbsoluteThickness[5], #]& /@ ColorData[68, "ColorList"])};

No output - this step sets something up for the next one.

Step 2
Plot[Table[Sqrt[Cos[t]] Exp[-x Sin[t] ^ 4], {x, {1, 10, 100, 1000, 10000}}]//Evaluate, {t, 0, Pi / 2}, Evaluate@styles, PlotLegends -> LineLegend[{1, 10, 100, 1000, 10000}, LegendMarkerSize -> {30, 10}, LegendLabel -> x, LabelStyle -> {GrayLevel[0.3], Bold, 16}]]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client