{
  "width": 480,
  "height": 300,
  "padding": 16,
  "xRange": [-6.5, 6.5],
  "yRange": [-1.6, 1.6],
  "aspect": "stretch",
  "grid": { "step": 1 },
  "axes": true,
  "title": "y = \\sin x,\\quad y = \\cos 2x",
  "elements": [
    { "type": "curve", "y": "sin(x)", "color": "#1d4ed8", "width": 2 },
    { "type": "curve", "y": "cos(2x)", "color": "#b45309", "width": 2, "style": "dashed" },
    { "type": "text", "at": [4.6, 1.15], "text": "\\sin x", "size": 13, "color": "#1d4ed8" },
    { "type": "text", "at": [1.3, -1.3], "text": "\\cos 2x", "size": 13, "color": "#b45309" }
  ]
}
