textscatter does not use LaTeX

3 vues (au cours des 30 derniers jours)
Rick Baartman
Rick Baartman le 7 Sep 2023
Commenté : Rick Baartman le 8 Sep 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.

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Sep 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 commentaire
Rick Baartman
Rick Baartman le 8 Sep 2023
Thanks! I should have used text(), not textscatter().

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by