Autor Beitrag
Memphis D
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Do 17.04.08 16:59 
Hi
hab mal ne Fragen: und zwar wie kann ich als caption (e hoch x) schreiben?

MfG
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 17.04.08 17:05 
In dem Du das ^ als Potenzierungszeichen nimmst: e^x

Für Formel-Darstellung a la LaTeX bräuchtest Du ein formatiertes Label, was es aber in der VCL nicht gibt.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
j.klugmann
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 17.04.08 17:08 
ein bisschen genauer vielleicht??? :?: :?: :?:
ub60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 765
Erhaltene Danke: 130



BeitragVerfasst: Do 17.04.08 17:18 
user profile iconMemphis D hat folgendes geschrieben:
Hi
hab mal ne Fragen: und zwar wie kann ich als caption (e hoch x) schreiben?
MfG

Wohin soll es denn?
Eventuell mit 2 Label-Komponenten, die versetzt angeordnet werden.

ub60
Memphis D Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Fr 18.04.08 18:46 
Danke mein Problem is gelöst.
Memphis D Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: So 20.04.08 15:54 
HI nochmal
hab jetzt die Formel:

Y:=a*e^X+b;

Doch es wird mir angezeigt das ein Zeigertyp erwartet wird. Das Potenzierungszeichen ist doch die Taste links neben der "1" oder?

MfG
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 20.04.08 15:57 
Du musst es als String schreiben, also mit ''. Ansonsten ist ^ in Delphi der Operator um einen Zeiger auszulesen.
Memphis D Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: So 20.04.08 16:04 
Geht das bitte ein bisschien genauer?

MfG
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 20.04.08 16:07 
ausblenden Delphi-Quelltext
1:
Y:='a*e^X+b';					


Oder wenn du es rechnen willst:

ausblenden Delphi-Quelltext
1:
Y := a * power(e, X) + b;