0

I would like to create a graphical model of a 7 variable problem in scilab

Problem: Create an address handling database system with incomplete data

The variables are as follows...

Primary address = [0,1]
Primary mailing address = [0,1]
Primary residential address = [0,1]
Primary billing address = [0,1]
Mailing address = [0,...,1]
Residential address = [0,...,1]
Billing address = [0,...,1]

Example: System asks for billing address and the following absolute values would be entered into the database

Primary address = 0
Primary mailing address = 0
Primary residential address = 0
Primary billing address = 1
Mailing address = 0.7
Residential address = 0.5
Billing address = 1.0

I would like to create a graphical model of how this multi-variable system will behave as certain values are held constant, basically creating a set of partial derivative graphs which will visually depict how the function behaves. Using plot3d I can plot a function of 2 variables, but is there a way to use color and time (animation) in scilab to extend this to two additional variables. This way I would only need to hold three variables constant.

Ralph Ritoch
  • 3,260
  • 27
  • 37

1 Answers1

1

For a research I did, I created a script that could do parallel space plots in SciLab for investigating the parameter space of algorithms. I based it on the papisr from Nelis Franken.

The image below is one of my plots. Each vertical line represents a parameter. I tested every combination of the five parameters within the ranges given. I qualified the results using a certain metric.

Each line represents a combination of the 5 parameters. I only plotted the top 500 results based on the metric. The gray lines are the results 500 up to 26, the darker the better.

The blue lines are the top 25 results and the red line is the best result.

In using this method, I was able to see certain trends and see which combinations of parameter settings worked best.

enter image description here

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
spoorcc
  • 2,907
  • 2
  • 21
  • 29
  • Where can I find information on how to do a parallel space plot in scilab? Was this done using subplots? – Ralph Ritoch Dec 02 '13 at 01:48
  • It was a custom implementation. It was done using plot2d. If you are interested in this solution, I will post my code. – spoorcc Dec 02 '13 at 06:03
  • I won't need the code but your solution did help me into the right direction. I solved the complete problem using a matrix of subplots, plot3d, and genfac3d. The matrix provided 2 dimensions, the 3d graph provided 3, and RGB provided another 3 for a total of 8 dimensions that I needed to graph the 7 variables and the result of the function. – Ralph Ritoch Dec 02 '13 at 09:46
  • I am still hoping there is some way to animate graphs in time to squeeze out another dimension, but this was enough for this project. – Ralph Ritoch Dec 02 '13 at 09:47
  • 1
    For another project I automated the creation of plots using xs2png and used that to create a gif. You could also implement a slider to dynamically control the last dimension – spoorcc Dec 02 '13 at 11:46