V
V
Vezd2015-06-05 14:59:11
Mathematics
Vezd, 2015-06-05 14:59:11

Is the plotframe function no longer used in Scilab version 5.5.2? What is the function now instead of it?

The help file for Scilab 5.5.2 says that the plotframe function is deprecated. Does this mean that it no longer works in Scilab 5.5.2?
I copied the example code from the help and it does not work.

x=[-0.3:0.8:27.3]';
y=rand(x);
rect=[min(x),min(y),max(x),max(y)];
tics=[4,10,2,5];    //4 x-intervals and 2 y-intervals
plotframe(rect,tics,[%f,%f],["My plot","x","y"],[0,0,0.5,0.5])
plot2d(x,y,2,"000")
plotframe(rect,tics=tics,flags=[%t,%f],Captions=["My plot with grids","x","y"],subwin=[0.5,0,0.5,0.5])
plot2d(x,y,3,"000")
plotframe(rect,tics,[%t,%t],..
["My plot with grids and automatic bounds","x","y"],[0,0.5,0.5,0.5])
plot2d(x,y,4,"000")
plotframe(rect,flags=[%f,%t],tics=tics,..
          Captions=["My plot without grids but with automatic bounds ","x","y"],..
          subwin=[0.5,0.5,0.5,0.5])
plot2d(x,y,5,"000")

Error:
Function not defined for the given parameter types,
check the parameters or define the %fptr_size function as overloadable.
at line 100 of function plotframe called by :

plotframe(rect,tics,[%f,%f],["My plot","x","y"],[ 0,0,0.5,0.5 ]) plorframe not working in Scilab 5.52? What function can be used instead?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Pavlyuchuk, 2016-12-11
@bort95

https://help.scilab.org/docs/6.0.0/ru_RU/subplot.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question