[proFit-list] proFit 6.2.16 - drawing in a graph
pro Fit Support
profit at quansoft.com
Wed May 19 22:13:11 CDT 2021
Dear Andrea
To draw inside a plot (i.e. in a plot’s coordinate system) programmatically, bracket your calls to MoveTo/LineTo within OpenCurve and CloseCurve:
program DrawCurve;
begin
OpenCurve(name ‘MyCurve');
MoveTo(0, 0);
LineTo(0.5, 0.5);
LineTo(1, 0);
CloseCurve;
end;
This programmatically generates a plot (in this case named “ MyCurve” in the current graph.
Best
Kurt
QuantumSoft
> On 20 May 2021, at 01:11, Spiderbat <spiderbat at mac.com> wrote:
>
> Thank you for your advice! I had to revise my strategy a little, but it solved my problem. Now I draw the ticks at positions that correspond to the beginning of each month, letting proFit draw the vertical grid lines. Nevertheless, from a more general point of view, I'd like to learn how to draw something inside a graph programmatically.
>
> Thank you again
> Andrea
>
> On May 19, 2021, at 20:23 , Camaioni, Donald M wrote:
>
>> Would it work for you to turn on vertical grid lines from the Graph Settings menu?
>>
>> From: proFit-list <profit-list-bounces at quantum-soft.com <mailto:profit-list-bounces at quantum-soft.com>> on behalf of Spiderbat <spiderbat at mac.com <mailto:spiderbat at mac.com>>
>> Date: Wednesday, May 19, 2021 at 10:35 AM
>> To: profit-list at quantum-soft.com <mailto:profit-list at quantum-soft.com> <profit-list at quantum-soft.com <mailto:profit-list at quantum-soft.com>>
>> Subject: [proFit-list] proFit 6.2.16 - drawing in a graph
>>
>> Check twice before you click! This email originated from outside PNNL.
>>
>>
>> Hi! I'm still using proFit 6.2.12 on a very old computer. Presently, I would like to draw vertical lines in a scatter plot graph (the x-axis represents time in days and I would draw my lines to separate months). I tried to write a program to achieve my goal and did several experiments, but I haven't grasped yet howf the drawing environment works. In particular, I believe that there are at least two systems of coordinates, one for the window where the graph resides, one for the graph, whose coordinates correspond to the values on the axes. Unfortunately, I didn't find any comprehensive explanation on this subject, as well, e. g., on the different role and purpose of 'curves' and 'shapes'. Could someone point me to some explicative material and/or examples on this topic?
>>
>> TIA
>> Andrea Perego
>>
>>
>>
>>
>> _______________________________________________
>> proFit-list mailing list
>> proFit-list at quantum-soft.com <mailto:proFit-list at quantum-soft.com>
>> https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fquantum-soft.com%2Fmailman%2Flistinfo%2Fprofit-list_quantum-soft.com&data=04%7C01%7CDonald.Camaioni%40pnnl.gov%7Cbd01153d93864564e46608d91aec843e%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637570425403912160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y5d13thOKhdxECDxBVXXaRfCA%2B6G6b41qVLBXFWqMaE%3D&reserved=0 <https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fquantum-soft.com%2Fmailman%2Flistinfo%2Fprofit-list_quantum-soft.com&data=04%7C01%7CDonald.Camaioni%40pnnl.gov%7Cbd01153d93864564e46608d91aec843e%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637570425403912160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y5d13thOKhdxECDxBVXXaRfCA%2B6G6b41qVLBXFWqMaE%3D&reserved=0>_______________________________________________
>> proFit-list mailing list
>> proFit-list at quantum-soft.com <mailto:proFit-list at quantum-soft.com>
>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com <http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com>
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20210520/be40b51b/attachment-0001.html>
More information about the proFit-list
mailing list