I have A, a 344x1 size xlssheet(Mlist).
A(1:100) consists of double entries
A(101:$) consists of string entries.
I want to add a new line to that mlist that contains the "%nan" entry for
the first row:
When I do the following:
A.text = ["";A.text];
A.value =[%nan;A.value];
then A(1) returns an emp
Hi,
I have A, a 344x1 size xlssheet(Mlist).
A(1:100) consists of double entries
A(101:$) consists of string entries.
I want to add a new line to that mlist that contains the "%nan" entry for
the first row:
When I do the following:
A.text = ["";A.text];
A.value =[%nan;A.value];
then A(1) returns a
Just realized I used the wrong function name in the subject line. It's
supposed to be "mtlb_dir" instead of "mtl_mode".
Sorry for the confusion. Is there anyone out there that can comment on the
error that Scilab throws in my code example?
--
View this message in context:
http://mailinglists.s
Hi there,
I used to program in a matlab environment and made a small script some time
ago that handles multiple files using "mtlb_dir". I am dealing with Excel
files and found out along the way that Scilab 5.6 couldn't handle to read
the new xlsx-format. (not sure whether that changed with the upd
Awesome - thanks Christophe! :-)
If anyone knows how I can add some T-stops to the errorbars please let me
know.
Perhaps there is an atoms package that takes care of this? Without the
vertical bars on either side of the error bars - the graph looks kind of
weird to me.
--
View this message in co
So my question is simple,
how do I change the appearance of error bars that are created with the
errbar() command?
I want to access its line thickness, its line color and most of all I want
to add horizontal lines to the upper and lower end of the error bars to mark
their end.
I did not see that
Ok here is another question for the Scilab experts around.
Is there a way to convert the name of a variable into a string in Scilab?
Lets say, I have:
//START OF CODE
s = 2;
//then:
string(s) // returns "2"
//is there a function f with f(s) == "s" ??
//END OF CODE
Searched the web, but could on
Dear Rafael and Samuel,
this is truly amazing! I never thought it would be that easy. I guess that
this would allow even for dynamic variable allocation. Finally I can
generalize some repetitive code into functions that do mostly the same thing
but on different fieldnames!
Thank you so much - th
Hi there,
is there a way to use a string variable during a children-call in a scilab
structure?
Here is an example for what i want to do:
function myvalue = getchild(myparent,mychild)
//this function doesn't work and is just meant to show the idea of what
I want to do:
//"mychild" is a str
"So what about this?...see attachment."
It's beautiful - how did you do this?
--
View this message in context:
http://mailinglists.scilab.org/Re-moving-axis-ticks-around-orthogonally-to-their-axes-tp4035009p4035043.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive
Unfortunately
by.parent.thickness=1.5;
has the same effect as
a.thickness=1.5;
It does not change the thickness of the axis drawn by "drawaxis". I'm
beginning to think that there probably is not easy way to change the
thickness of axes created by "drawaxis". Perhaps there are other ways of
addi
Hey Christophe,
that was my first guess too, but it doesn't work because drawaxis does not
have a "thickness" parameter, see:
https://help.scilab.org/docs/5.3.3/en_US/drawaxis.html
--
View this message in context:
http://mailinglists.scilab.org/Re-moving-axis-ticks-around-orthogonally-to-their
Hello again,
thanks all for your feedback - I managed to come a long way by use of your
input.
Phillip, your example was nice, but it turned out that the axes were on a
different layer when attempting a zoom on the graph, nothing zoomed except
for the new axis ticks. They also had false labels fr
Hello folks,
sorry for spamming this forum. I came across another interesting problem:
Consider the following code example:
x = linspace(-2*%pi,2*%pi,201);
y = cos(x);
plot2d(x,y,2)
a=get("current_axes");
set(a,"box","on");
set(a,"grid",[1 1]);
set(a,"x_location","origin")
set(a,"y_location","ori
Hi Christoph and Samuel,
"Nevertheless, I think you could get something from:
- estimating the step size on the entire sample
- if 0 is inside, estimating the step size in each sub-range so there is at
least one step in this range
- taking the smallest step size
which would reduce the amount of "i
Btw, Christophe - your solution does not give the option to specify the
desired number axismarkers which I express using the function input variable
"steps".
I have now compressed the code from my example further according to your
good suggestions and attach it as a file in case anyone likes to t
Hey Christophe,
I don't think " to have only decimal number i.e. the last number displayed
increases by one at each tick." would be good enough for every case. Or
perhaps I'm not getting your idea entirely
Consider the following range examples:
1. xmin = 8.31 xmax = 9.23
Then lets specify a some
Hey Christophe,
thank you for taking your time to respond to my post. Your feedback is
really valuable for me.
Of course I should have thought on the log10 -function, I don't know why it
hasn't occurred to me. :)
So this is the code I am testing with and that made me want to create more
reasonabl
Here is the code in a testfile to make things easier for those who want to
give it a shot and test it. I know there are some duplicate lines that could
be avoided by changing the boolean logic a bit but I fear that the
readability of the code will suffer (as it is quite bad already). Also
please be
Hey there,
is there any way in Scilab to ignore a function output variable? I did a a
quick search in the mailing list archive and on the internet but couldn't
find anything.
Example:
a = [ 0 1 0 1 1];
// working usual function call and throwing away b in Scilab
[b,c] = unique(a);
clear b;
// Ma
Hi Rafael,
it worked - you are a life-saver! :-)
It's actually mentioned here as well:
https://help.scilab.org/doc/5.5.2/en_US/readxls.html
I just got confused because the "sheets" variable seems to be identical to
it's field name "sheets" in the example:
"sheets = readxls(file_path)
..
Given an
Hello dear Scilab fellows,
I'm new to Scilab and try to find a solution to finding the amount of
excelsheets in a an xls(mlist)-variable. I have been looking on the internet
for an entire day without getting any further.
So here is some code to clarify what I am looking for:
// Let's assume I rea
22 matches
Mail list logo