ruler-tool shows slope

This commit is contained in:
jkriege2 2019-06-01 14:02:35 +02:00
parent 6fe42748ed
commit 199e8493fe

View File

@ -540,7 +540,7 @@ void JKQTPlotter::paintUserAction() {
} }
txt=QString::fromStdString("\\delta_{x,y}="+jkqtp_floattolatexstr(dxy)+", \\alpha="+jkqtp_floattolatexstr(alpha, 1)+"\\degree"); txt=QString::fromStdString("\\delta_{x,y}="+jkqtp_floattolatexstr(dxy)+", \\alpha="+jkqtp_floattolatexstr(alpha, 1)+"\\degree, \\stfrac{\\mathrm{d}y}{\\mathrm{d}x}="+jkqtp_floattolatexstr(dy/dx, 1));
getPlotter()->getMathText()->parse(txt); getPlotter()->getMathText()->parse(txt);
getPlotter()->getMathText()->getSizeDetail(painter, w, a, d, so); getPlotter()->getMathText()->getSizeDetail(painter, w, a, d, so);
if (x2<x1) { if (x2<x1) {