Page 1 of 1

Graphics Functions Full Documentation

PostPosted: Mon Nov 03, 2014 10:18 am
by Brad Kimbrough
Hello,

I apologize if I have missed it, but I am unable to find any comprehensive documentation on the graphics display functions. I can work out some of the basics from the examples, but a more detailed explanation of the function inputs and options would be helpful. Is there such a document?

Thank you

Brad

Re: Graphics Functions Full Documentation

PostPosted: Mon Nov 03, 2014 2:16 pm
by shehzan
Hi

Our graphics documentation can be found here:
http://www.arrayfire.com/docs/page_gfx.htm

Re: Graphics Functions Full Documentation

PostPosted: Mon Nov 03, 2014 2:59 pm
by Brad Kimbrough
Thank you for your reply.

I am aware of your online documentation; however, it don't find it complete.

For example: The fig() command. Is there a listing of all the available "key" words. The key word "sub" is used extensively, but other than guessing, what are the 3 follow on inputs about? Where can I find a description of using the "sub" keyword?

Can I change the axis number format?
Can I change the plot aspect ratio?
Can I prevent the chart aspect from changing when the render window is resized?

I appreciate any guidance you can provide.

Brad

Re: Graphics Functions Full Documentation

PostPosted: Mon Nov 03, 2014 3:03 pm
by shehzan
In fig, the 3 arguments are as follows:
* No. of sub windows horizontally
* No. of sub windows vetically
* Index of the sub window to draw the current array on (1-indexed).

We do not expose capability to control format and aspect ratios. The only way to do this would be to add empty data to your array before drawing it.