|
224 | 224 | "\tcolor=${3:blue},",
|
225 | 225 | "\t]",
|
226 | 226 | "\t{${4:x^2 + 2*x + 1}};",
|
227 |
| - "\\addlegendentry{$${5:x^2 + 2x + 1}$}", |
| 227 | + "\\addlegendentry{\\$${5:x^2 + 2x + 1}\\$}", |
228 | 228 | "$0"
|
229 | 229 | ],
|
230 | 230 | "description": "Plot a 2D Graph in the 2D graph environment, noted that this can also be used in the 3D environment."
|
|
238 | 238 | "\tcolor=${4:blue},",
|
239 | 239 | "\t]",
|
240 | 240 | "\t({${1:r}*cos(t)+${2:a}},{${1:r}*sin(t)+${3:b}});",
|
241 |
| - "\\addlegendentry{$(x-${2:a})^2+(y-${3:b})^2=${1:r}^2$}$0" |
| 241 | + "\\addlegendentry{\\$(x-${2:a})^2+(y-${3:b})^2=${1:r}^2\\$}$0" |
242 | 242 | ],
|
243 | 243 | "description": "Plot a 2D Circle in the 2D graph environment, noted that this can also be used in the 3D environment."
|
244 | 244 | },
|
|
251 | 251 | "\tcolor=${3:blue},",
|
252 | 252 | "\t]",
|
253 | 253 | "\t{${1:a}*x+${2:b}};",
|
254 |
| - "\\addlegendentry{$ y=${1:a}x+${2:b}$}$0" |
| 254 | + "\\addlegendentry{\\$ y=${1:a}x+${2:b}\\$}$0" |
255 | 255 | ],
|
256 | 256 | "description": "Plot a 2D Line in the 2D graph environment, noted that this can also be used in the 3D environment."
|
257 | 257 | },
|
|
264 | 264 | "\tcolor=${5:blue},",
|
265 | 265 | "\t]",
|
266 | 266 | "\t({${1:a}*cos(t)+${3:x}},{${2:b}*sin(t)+${4:y}});",
|
267 |
| - "\\addlegendentry{$\\frac{(x-${3:x})^2}{${1:a}^2}+\\frac{(y-${4:y})^2}{${2:b}^2}=1$}$0" |
| 267 | + "\\addlegendentry{\\$\\frac{(x-${3:x})^2}{${1:a}^2}+\\frac{(y-${4:y})^2}{${2:b}^2}=1\\$}$0" |
268 | 268 | ],
|
269 | 269 | "description": "Plot a 2D Ellipse in the 2D graph environment, noted that this can also be used in the 3D environment."
|
270 | 270 | },
|
|
280 | 280 | "\tcolor=${6:blue},",
|
281 | 281 | "\t]",
|
282 | 282 | "\t{${1:a}*(x-${2:m})*(x-${2:m})+${3:b}};",
|
283 |
| - "\\addlegendentry{$ y=${1:a}(x-${2:m})^2+${3:b}$}$0" |
| 283 | + "\\addlegendentry{\\$ y=${1:a}(x-${2:m})^2+${3:b}\\$}$0" |
284 | 284 | ],
|
285 | 285 | "description": "Plot a 2D graph of a quadratic function in the 2D graph environment by the given extrema, noted that this can also be used in the 3D environment."
|
286 | 286 | },
|
|
0 commit comments