Re: [Scilab-users] subplot problem

2015-01-19 Thread rathodprashnt
Respected Sir,

  Thank you very much for your kind support it solve my problem, i
am very new to scilab, so i asked for help in this forum
as per your suggestion i will follow the  links for my improvement.
once again thank you very much.


>
>


-- 
With Regards

Rathod Prashant K.,
General Department,
Lukhdhirji Engineering College,
Morbi.
Mo.9601962904




--
View this message in context: 
http://mailinglists.scilab.org/subplot-problem-tp4031642p4031650.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] simulate fmu model provided : Error !

2015-01-19 Thread Akhechar
Hello, 

I followed the example provided in the Help of FMI ( Xcos FMU wrapper >>
Xcos FMU wrapper > Export FMU from Xcos )

I succed to export it ! 

But when I tried to simulate the fmu exported I had this error : 

***
-->fmuABS = importFMU(pwd()+fullfile("\tests\unit_tests\modelABS.fmu"))
 fmuABS  =
 
modelABS FMU Model
 
-->simulateABS = fmiSimulate(fmuABS)
* !--error 999 
fmu_call: Wrong type for input argument #1: FMU expected.
at line  11 of function fmiGetVersion called by :  
at line  50 of function fmiSimulate called by :  
simulateABS = fmiSimulate(fmuABS)*

***


what's wrong please? 

Thanks ! 



--
View this message in context: 
http://mailinglists.scilab.org/simulate-fmu-model-provided-Error-tp4031649.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] subplot problem

2015-01-19 Thread Dang, Christophe
Hello,

> De : rathodprashnt
> Envoyé : samedi 17 janvier 2015 11:16
>
> some how out of 4 subplot only last one is visible.
> [...]
> here is my script
>
> for k=1:4
> [...]
> end
> plot(x,y);

If I understand well what you're trying to de,
the plot() should be inside the for/end loop.

A more convenient way would be to write:

_

t=0:0.01:10;
x=cos(2*%pi*t); theta=0

for k=1:4
y=cos(2*%pi*k*t);
subplot(2, 2, k)
plot(x,y);
end
_

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] subplot problem

2015-01-19 Thread Nikolay Strelkov
Hello, rathodprashnt !

You need to move plot(x,y) to the end of for loop.

t=0:0.01:10;
x=cos(2*%pi*t); theta=0

for k=1:4
y=cos(2*%pi*k*t);
if k==1 then subplot(221)
elseif k==2 then subplot(222)
elseif k==3 then subplot(223)
elseif k==4 then subplot(224)
end
*plot(x,y);*
end

[image: Встроенное изображение 1]

I recommend you to read/watch some tutorials on Scilab (
http://www.openeering.com/scilab_tutorials or
http://www.scilab.in/spoken-tutorial ).


With best regards,
maintainer of Mathieu functions toolbox for Scilab
,
IEEE member, Ph.D.,
Nikolay Strelkov.


2015-01-17 13:16 GMT+03:00 rathodprashnt :

> Hy  i am new to scilab and i am trying to run new with subplot command
> using
> (221) to (224) format but some how out of 4 subplot only last one is
> visible.
>
> here is my script
> _
>
> t=0:0.01:10;
> x=cos(2*%pi*t); theta=0
>
> for k=1:4
> y=cos(2*%pi*k*t);
> if k==1 then subplot(221)
> elseif k==2 then subplot(222)
> elseif k==3 then subplot(223)
> elseif k==4 then subplot(224)
> end
> end
> plot(x,y);
> _
> 
>
>
> i have also attached image of graph.
>
>
> thank you
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://mailinglists.scilab.org/subplot-problem-tp4031642.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive
> at Nabble.com.
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] subplot problem

2015-01-19 Thread rathodprashnt
Hy  i am new to scilab and i am trying to run new with subplot command using
(221) to (224) format but some how out of 4 subplot only last one is
visible.

here is my script
_

t=0:0.01:10;
x=cos(2*%pi*t); theta=0

for k=1:4
y=cos(2*%pi*k*t);
if k==1 then subplot(221)
elseif k==2 then subplot(222)
elseif k==3 then subplot(223)
elseif k==4 then subplot(224)
end
end
plot(x,y);
_
 


i have also attached image of graph.


thank you










--
View this message in context: 
http://mailinglists.scilab.org/subplot-problem-tp4031642.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] ATOMS module

2015-01-19 Thread pdiazs
Hi

I have installed scilab 5.5.1 in windows 8.1 64 bits

When I launch atoms gui I get "atoms not available check your internet
connection"

I have followed all the suggestions made in posts:
1 reinstall in root c:/
2 modify extractAtoms.sci and then succesfully run buildmacros.bat as
administrator and relaunch
3 download provided extractAtoms.sci and compile 

but all result unsuccesful

The issue does not exist in windows 7

i get these results

atomsGetConfig
 ans  =
 
   useProxy: "False"
   offline: "False"
   downloadTool: "httpdownload"

atomsRepositoryList()
 ans  =
 
!http://atoms.scilab.org/5.5official  !
! !
!http://atoms.scilab.org/   user  !
! !
!http://atoms.scilab.org/categories/modeling_and_control_tools  user  !
! !
!http://scene1.test.atoms.scilab.orguser  !
 
atomsSystemUpdate()
 
 gzip: D:\Datos de
Usuarios\Usuario\AppData\Local\Temp\SCI_TMP_7472_\.atoms\1_TOOL 
  BOXES already exists; not overwritten 
   
 !--error 1 
atomsDESCRIPTIONget: Falló la extracción del archivo de DESCRIPCIÓN
('D:\Datos de
Usuarios\Usuario\AppData\Local\Temp\SCI_TMP_7472_\.atoms\1_TOOLBOXES.gz').
at line 182 of function atomsDESCRIPTIONget called by :  
at line  16 of function atomsSystemUpdate called by :  
atomsSystemUpdate()


Any suggestion will be highly appreciate

Thanks

Pedro Diaz

 



--
View this message in context: 
http://mailinglists.scilab.org/ATOMS-module-tp4025531p4031645.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users