<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Dave, yes, that’s right, that’s exactly the bug we fixed in 7.0.15 - just go to <a href="http://quansoft.com/down.html" class="">quansoft.com/down.html</a> and download it!<div class="">ivan<div class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">—</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">pro Fit support<br class=""><a href="mailto:profit@quansoft.com" class="">profit@quansoft.com</a><br class=""><br class=""></div></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 10, 2020, at 12:53 PM, Dave <<a href="mailto:glasspusher@outofoptions.net" class="">glasspusher@outofoptions.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class="">I finally got around to trying this, and I suppose I see the bug. I’m using 7.0.14. The text gets drawn to the left of the legend symbols, and the only way to get them to draw in the correct position is go in and click on each legend in the plots pane of the graph settings dialog. It also renders the text in a bigger size than the original legend.</div><div class=""><br class=""></div><div class="">I did it with a python script:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="color: #0000c0" class="">for</span> r <span style="color: #0000c0" class="">in</span> <span style="color: #128b27" class="">range</span>(6):</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(18, 139, 39);" class=""><span style="" class="">    </span>pf.SetPlotProperties<span style="" class="">(</span><span style="color: #118987" class="">plot</span><span style="" class=""> = r + 1, </span><span style="color: #118987" class="">name</span><span style="" class=""> =  </span>pf.GetData<span style="" class="">(r+1,1))  </span></div><div class=""><span style="" class=""><br class=""></span></div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 10, 2019, at 7:41 PM, pro Fit support <<a href="mailto:profit@quansoft.com" class="">profit@quansoft.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="orphans: 2; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><blockquote type="cite" class="">On Oct 9, 2019, at 8:27 PM, Dave <<a href="mailto:glasspusher@outofoptions.net" class="">glasspusher@outofoptions.net</a>> wrote:<br class=""><br class="">Hi all,<br class=""><br class="">I’m looking to modify a set of labels to curves in a legend. Rather than edit the text for each curve in the legend individually, is there a way script it to say insert or replace text in each curve legend with a set of comma or space delimited text to go to each entry?<br class=""><br class="">Thanks for any and all<br class=""><br class="">Dave Sopchak<br class="">_______________________________________________<br class="">proFit-list mailing list<br class=""><a href="mailto:proFit-list@quantum-soft.com" class="">proFit-list@quantum-soft.com</a><br class=""><a href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com" class="">http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com</a><br class=""></blockquote><br class=""></div><br class="">Dear Dave,<div class=""><br class=""></div><div class="">what you can do is write a script to change the name of each curve in the graph, and this will then change the name in the legend.</div><div class=""><br class=""></div><div class="">Let’s say you put the new name for all curves in your plot in the furst column of the current data window (set it to be of type text) and that you want to transfer those names to the curves in the current graph. Here a simple script that would do just that for the first two curves in the current graph (you can also write the same thing in python if you prefer):</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="color: rgb(3, 38, 204);" class="">program</span> changenames;</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(3, 38, 204);" class="">var<span style="" class=""> i:</span>integer<span style="" class="">;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(3, 38, 204);" class="">begin</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> <span style="color: rgb(3, 38, 204);" class="">for</span> i:=1 <span style="color: rgb(3, 38, 204);" class="">to</span> 2 <span style="color: rgb(3, 38, 204);" class="">do</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(3, 38, 204);" class=""><span style="" class=""> </span>begin</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 153, 51);" class=""><span style="" class=""> <span class="Apple-tab-span" style="white-space: pre;">     </span></span>SetPlotProperties<span style="" class="">(</span><span style="color: rgb(0, 153, 153);" class="">plot</span><span style="" class=""> i, </span><span style="color: rgb(0, 153, 153);" class="">name</span><span style="" class=""> </span>GetCell<span style="" class="">(i,1));</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> <span style="color: rgb(3, 38, 204);" class="">end</span>;</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(3, 38, 204);" class="">end<span style="" class="">;</span></div></div><div class=""><br class=""></div><div class="">The only issue is that after you have run this script in pro Fit version 7.0.14 or earlier you have to do the additional final step of selecting the legend and changing the font size to force an update. But this is fixed in pro FIt 7.0.15, which we are just about to release.</div><div class=""><br class=""></div><div class="">all the best,</div><div class=""><span style="orphans: 2; widows: 2;" class="">—</span></div><div class=""><div style="orphans: 2; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">pro Fit support<br class=""><a href="mailto:profit@quansoft.com" class="">profit@quansoft.com</a></div></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><br class=""><br class=""></div></span>
</div>
<br class=""></div>_______________________________________________<br class="">proFit-list mailing list<br class=""><a href="mailto:proFit-list@quantum-soft.com" class="">proFit-list@quantum-soft.com</a><br class=""><a href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com" class="">http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">proFit-list mailing list<br class=""><a href="mailto:proFit-list@quantum-soft.com" class="">proFit-list@quantum-soft.com</a><br class="">http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com<br class=""></div></blockquote></div><br class=""></div></div></body></html>