[proFit-list] Programming Questions

pro Fit Support profit at quansoft.com
Mon Nov 5 05:23:42 CST 2012


Dear Andrew

These are good questions.

As to question 1: There is no way, presently, to programmatically display the colour legend. The best you could do is to save a drawing document with a graph in it that has a colour legend as you want to have it. Remove all plots from the graph. For plotting, then open the document from your script, and then plot into its graph.

As to question 2: The GUI does not allow to use non-numeric y-columns. However, you can issue a PlotData command with the parameter yColumn indicating a text column.

Hope this helps.

Kurt Sutter
QuantumSoft

On 2 Nov 2012, at 3:52, "Beveridge, Andrew Cameron" <acbev at lanl.gov> wrote:

> I have run into a bit of programming/plotting difficulties and was wondering whether anyone had any suggestions.
> 
> Question 1
> 
> I am plotting my data using the option colorEncodePoints True, that is, the data points are to be color coded according to their z-value. How do I display the z legend, the one with the color scheme programmatically? (This axis is different from the option for the z-axis in the contour plot.)
> 
> Question 2
> 
> For my y-axis, I would like to use a "text" column. (The column has a list of file names.) It appears that proFit does not allow the y-axis to be a text column. One way around this problem is to choose the "Row Index" as the y-axis and then replace it with a  Category Axis; this does seem to work. Is there any way to do this programmatically, that is, set a new category axis in a program?
> 
> Thanks for your help.
> 
> Cheers,
> Andrew
> _______________________________________________
> 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/20121105/acfd0de1/attachment.htm>


More information about the proFit-list mailing list