Question

I'm on octave 3.8.0 and am using the fuzzy inference toolkit to do some work. I have two inputs and one output.

In my fis file I have (with obviously lots of other information):


[Input1]
name="InputVarOne"

[Input2]
name="InputVarTwo"

[Output1]
name="OutVar"

When I use gensurf to generate the surface plot, the axes are labeled with the name. However, when I put a space in the name, it cuts the name off (cuts off the character right before the space).

How can I get a space into the labels of the axes when using gensurf

Was it helpful?

Solution

Just figured it out. After gensurf is called, you can change the labels using [xyz]label. So you can do:


gensurf(fis)
xlabel("Input Var One")
ylabel("Input Var Two")
zlabel("Out Var")

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top