Hallo,
kann mir jemand schreiben, wie man das y^ gut erzeugen kann.
speziell in einem Diagram ( plt.ylabel(r"$(y\hat )$" funktioniert leider nicht besonders)
und auch als print- Ausgabe
vielen Dank
print y^
Äh...
?
Code: Alles auswählen
print("y^")
-
Kobra23759
- User
- Beiträge: 61
- Registriert: Donnerstag 9. April 2020, 18:47
das Dach soll natürlich über den y stehen
- __blackjack__
- User
- Beiträge: 14330
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
Kobra23759: Also in LaTeX ist das ``\hat{y}`` wenn es über dem y stehen soll. Ansonsten könnte man das auch einfach als Unicode eingeben: ŷ.
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
-
Kobra23759
- User
- Beiträge: 61
- Registriert: Donnerstag 9. April 2020, 18:47
Hallo blackjack danke klappt super
