Borrar filtros
Borrar filtros

textscatter does not use LaTeX

2 visualizaciones (últimos 30 días)
Rick Baartman
Rick Baartman el 7 de Sept. de 2023
Comentada: Rick Baartman el 8 de Sept. de 2023
I use textscatter and textscatter3 to place label names on graphs, along the curve of the plot. This works fine. But I want LaTeX characters, and though that works for titles etc. when using plot(), it does not appear to apply to textscatter text strings to be placed.

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Sept. de 2023
You are correct, textscatter() creates TextScatter objects, which do not have currently have any capacity to set the interpreter .
It appears that textscatter() combines placing colored text and colored markers.
You will need to separately use scatter() or scatter3() and text()
  1 comentario
Rick Baartman
Rick Baartman el 8 de Sept. de 2023
Thanks! I should have used text(), not textscatter().

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by