Gensurf / Axis Limitations
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Fatih Yigit
el 9 de Jul. de 2022
Comentada: Fatih Yigit
el 10 de Jul. de 2022
Hello everyone;
I am using Fuzzy Toolbox. When I want to see the figure that represents the surface, relevant surface generated by the following code limits the z axis narrower than my output. e.g [0 2] şnstead of [0 5].
zlim [0 5] doesn't work for gensurf.
Would you please help?
Thanks in advance.
++
clc
clear all
close all
a = readfis('InventoryManagementv2');
SafetyStockOutput = evalfis(a, [1 1 0.85])
f= gensurf(a);
++
0 comentarios
Respuesta aceptada
Sam Chak
el 10 de Jul. de 2022
Hi @Fatih Yigit
This should do the trick that you desire:
fis = readfis('InventoryManagementv2');
[X, Y, Z] = gensurf(fis);
surf(X, Y, Z)
zlim([0 5])
Más respuestas (1)
Simon Chan
el 9 de Jul. de 2022
Try this:
set(gca,'ZLim',[0 5])
or
zlim([0 5]); % with bracket
0 comentarios
Ver también
Categorías
Más información sobre Fuzzy Logic Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!