,0,0;7,7,7];
BR
Philipp
Am Fr., 29. Apr. 2022 um 12:57 Uhr schrieb Izabela Wójcik-Grząba :
Hello,
I have a simple example of param3d1 graph:
param3d1([1 2 3],[3 4 2],[5 2 4]);
h=gce();
h.line_mode="off";
h.mark_mode="on";
h.mark_sytle=9;
h.mark_
The problem is that my real plot is made with param3d1 and consists of
different elements: polylines with line_mode, with mark_mode, xstrings.
It is now impossible to change the type.
Kind regards,
Iza
---
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika
do it for line_mode="on", but for mark_mode the structure
of figure is different.
Thanks in advance for any help. Regards,
Iza
--
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska___
users mailing list
users@lists.scil
there?
Regards,
Iza
---
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska
W dniu 16.11.2021 09:46, Samuel Gougeon napisał(a):
Hello Izabela,
The current colormap is always stored as a figure's property, as shown for instance in the examples at https
e function. When I put this
line in the console after calling function colorplot it works fine.
Maybe someone could help me with this?
Kind regards,
Iza
---
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska
W dniu 15.11.2021 13:38, Izabela Wójcik-Grzą
don't
know how to define it using jetcolormap.
I would be grateful for your kind help,
--
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska___
users mailing list
users@lists.scilab.org
http://lists.scilab.org
Sorry, please ignore my last post. I think I have managed to eliminate
all the problems. The last one I think was a file type .sce not .sci in
a library.
Thank you,
Iza
---
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska
W dniu 06.09.2021 14:52
explicitly mentioned buy I think it should be similar.
Regards,
Federico Miyara
On 03/09/2021 10:38, Izabela Wójcik-Grząba wrote:
Hello,
Till now I have been using Scilab on Win7 and had my library added with the use of this procedure:
1. genlib ("Moja_biblioteka","C
ib("C:/Program Files/mojabiblioteka_scilab")
Now I have Win10 and don't know how to do the same on this OS.
Especially I can't find SCIHOME.
I would be grateful for any help.
Regards,
Iza
--
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska_
ct: Re: [Scilab-users] Finding elements occuring once in a matrix
Hello,
Maybe not optimal, but does the job:
x = [1 1 3
2 1 1
4 5 5];
f = [];
for y=unique(x(:))'
if length(find(x==y)) == 1
f = [f y];
end
end
--> f
f =
2. 3. 4.
S.
Le 05/07/2019 à 18:03, Izabela Wójc
Hello,
Is there a simple way of finding elements of matrix which occurs only
once. For example in this matrix it would be 3 and 4:
[1 1 3
2 1 1
4 5 5]
For the time being I couldn't find any smart idea for that. Could you
help?
Kind regards,
Iza
This behavior (swith to "e") is logical.
Summing up: I should report a bug and suggest automatic switching to "e"
in such situation?
Iza
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
My computer works under Windows 7, 64bit.
Iza
W dniu 05.06.2019 16:55, Stéphane Mottelet napisał(a):
Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit :
Hello,
When Scilab 6.0.2 became available I reported a crash while running my
program which worked fine on previous version:
https
Hello,
When Scilab 6.0.2 became available I reported a crash while running my
program which worked fine on previous version:
http://mailinglists.scilab.org/Scilab-users-Scilab-crash-on-a-Windows-server-td4039065.html#a4039120
I managed to find out that the problem was about "format" which was
till be used in
scripts.sce or in files.sci that are just exec()uted, for the same
purpose: keeping nested functions private.
HTH
Regards
Samuel
Le 10/04/2019 à 16:04, Izabela Wójcik-Grząba a écrit :
Ok, so why nested function in help is so complicated:
//nested functions definition
function y=foo(x)
a=sin(
e way, the
example in the help misses being indented.
However, out of libraries, nested functions can still be used in
scripts.sce or in files.sci that are just exec()uted, for the same
purpose: keeping nested functions private.
HTH
Regards
Samuel
Le 10/04/2019 à 16:04, Izabela Wójcik-Grząba a écrit :
Ok, so why nested function in help is so complicated:
//nested functions definition
function y=foo(x)
a=sin(x)
function y=sq(x), y=x^2,endfunction
y=sq(a)+1
endfunction
foo(%pi/3)
Couldn't it be formulated like below:
function y1=foo1(x)
a=sin(x);
y1=a^2+1;
endfunction
Thank you. Is there a way to use this formulation as an input function
to fsolve? I don't know how to do it.
In my another example I also had a nested function but I managed to
define it in a form like in help page about function. It means that
everything was inside one function. This
Hello,
I would like some help with defining a nested function like below:
URQ=urq(q,eta(q),zeta(q,eta(q)))
The definitions are:
eta=mg./(2*q)
zeta=asinh(mg.*h./(2*q.*l.*sinh(eta)))+eta
URQ=mg.*L0./(q.*l)-sinh(2*eta-zeta)-sinh(zeta)
Values of mg, h, l, L0 are given.
I would be very grateful
Hello,
I am still fighting with my figure with plot inside about which I wrote
here:
http://mailinglists.scilab.org/Scilab-users-Export-plot-from-figure-with-uicontrols-td4039166.html
I deleted the frame in which there was a plot so now I can export it to
a graphic file. In the left frame
Hello,
Some of the options of gridbag aren't clear for me. Maybe someone could
explain my doubts.
Here is an example code:
f=figure("dockable","off","infobar_visible","off","toolbar_visible","off",..
"toolbar","none","menubar_visible","on","default_axes",..
Samuel, Federico, Oleksiy,
Thank you a lot for your feedback. I will check your ideas and find out
which will be the best for me.
Why are you using a uicontrol frame?
Samuel, the reason is simple. When I created the code for this figure
about a year ago I was a real beginner in Scilab so I
What do you mean by "frames"? made with uicontrol(), or with subplot()
(or xsetech())?
They are made with uicontrol().
The graphical effect of a uicontrol's callback remains after deleting
the uicontrol.
Ok, it is good.
If all uicontrol are set as direct children of the figure, deleting
high, printable resolution) and save as
high quality jpg. If the export contains things you don't want, you
simple trim out those parts.
Regards,
Federico Miyara
On 26/02/2019 13:07, Samuel Gougeon wrote:
Le 26/02/2019 à 15:15, Izabela Wójcik-Grząba a écrit :
Hello,
I know that there's
Otherwise, you may destroy them just for saving the remaining figure.
It is an idea, but how to do it properly?
My figure contains to frames. In one of them there are some checkboxes
which change the visibility of some parts of the plot. The plot is in
the second frame. I would like to
But my problem is that in my figure appart from my plot I have different
uicontrols, so when I use one of the xs2... commands it gives me a blank
picture.
Iza
W dniu 26.02.2019 17:07, Samuel Gougeon napisał(a):
Le 26/02/2019 à 15:15, Izabela Wójcik-Grząba a écrit :
Hello,
I know
Hello,
I know that there's no official method to export a figure containing
uicontrols but I need to export only my plot which is in the frame of
the figure. Ordinary print screen is not enough because I may need a
bigger size of a picture and also an .eps file. Do you have any other
method
)')
That's why I used this method and it works.
Greetings,
Iza
W dniu 21.02.2019 23:21, Samuel Gougeon napisał(a):
Izabela,
The green circles i get are not trimmed. And i don't know about
prettify(): i did not instal it.
But...
Le 21/02/2019 à 11:43, Izabela Wójcik-Grząba a écrit
Hallo,
Unfortunately I have a similar situation but on my workstation with
Windows 7 (not server). Sorry, but I have no idea what could be a
problem. My code works fine on version 6.0.1 (luckily). Also I did some
other simple calculations on version 6.0.2 without any problem.
My problem
Thank you very much Samuel. Now the solution is obvious. Sometimes these
are the hardest to find :-)
Iza
W dniu 21.02.2019 17:48, Samuel Gougeon napisał(a):
Hello Izabela,
Le 21/02/2019 à 17:38, Izabela Wójcik-Grząba a écrit :
Hello,
In my plot every tick_label in the x-axis is made
Hello,
In my plot every tick_label in the x-axis is made of two numbers (the
second is in the parenthesis). Now they are printed next to each other
like for example:
0.2 (11)
See the code below:
f_l=[0.20030479
0.29234647
0.36879976
0.43788566
0.50263554
0.56453135
0.62441298];
Hello,
I have just found this wonderful function by Pierre and I am testing it
with
some of my examples. It is really great, but I have a few problems. Here
is
my example code:
delta_z=[-0.227039004-0.185352532-0.090222505-0.048541026
-0.709541661-0.449264874-0.400240851
with indices 1 and 5) when executing the formula.
What I would do is to create a new function removing all function code
not related to the problem, trying to track what happens to p_x before
applying the formula.
Regards,
Federico Miyara
On 31/01/2019 15:06, Izabela Wójcik-Grząba wrote:
Hello,
I
Hello,
I have a strange problem with simple calculations which are done inside
a function. I will put here exact data and formula:
p_x=
0.
0.
0.
0.
0.
0.
p_x_pocz=
0.
0.
0.
0.
0.
0.
reakcje=
1. 1.03 2.1 -2.11. 2.
4. 0.92 2.45
codes so it would be hard to list them. Is there any other way to do it?
Iza
W dniu 13.11.2018 23:12, Samuel Gougeon napisał(a):
Le 13/11/2018 à 16:42, Izabela Wójcik-Grząba a écrit :
Thank you Stéphane and please ignore my last post - I didn't see the
attachement at first.
I wanted to put you
work at all. I get the message: "Undefined variable:
vectorfindtol".
Am I doing something wrong or did I miss something?
Thanks,
Iza
W dniu 12.11.2018 17:52, Stéphane Mottelet napisał(a):
Le 12/11/2018 à 16:15, Izabela Wójcik-Grząba a écrit :
Hello,
I am wondering if it
Hello,
Thanks, it looks like it's exactly what I need but it doesn't work in
version 6.0.1. What should I do to implement it?
Iza
W dniu 12.11.2018 17:52, Stéphane Mottelet napisał(a):
Le 12/11/2018 à 16:15, Izabela Wójcik-Grząba a écrit :
Hello,
I am wondering if it is possible
Hello,
I am wondering if it is possible to use "vectorfind" function with a
given accuracy so it could find equal vectors even when there is a
slight difference between their elements.
Thank you in advance.
Kind regards,
Iza
___
users mailing list
Hello,
I asked this question in a post about something else and nobody answered
so I repeat it here.
In my code I create a window with figure which is needed to properly
choose the values from a listbox which pops up simultaneously.But in the
next lines of code I have some x_mdialogs which
I am not getting any error message. I tried also not to close the
window. How should it work? It's unclear for me.
W dniu 29.10.2018 16:02, Samuel Gougeon napisał(a):
Le 29/10/2018 à 15:46, Izabela Wójcik-Grząba a écrit :
I have 6.01 version and changing values doesn't work. When the figure
à 12:47, Izabela Wójcik-Grząba a écrit :
.../...
I use a version from this site which should work:
http://www.scilab.org/fr/development/nightly_builds/master
I am not able to reproduce the Scilab 5 bug with the NB master for
Windows.
For me, changing values works as expected.
Samuel
Hello,
Sorry for returning to the topic of editting uicontrol Table but I still
don't know how it works. When I change the data in a Help example (code
below) the resulting table t2 doesn't change.
// Start of code
params = [" " "Country" "Population [Mh]" "Temp.[°C]" ];
towns = ["Mexico"
Hello,
Sorry for returning to the topic of editting uicontrol Table but I still
don't know how it works. When I change the data in a Help example (code
below) the resulting table t2 doesn't change.
// Start of code
params = [" " "Country" "Population [Mh]" "Temp.[°C]" ];
towns = ["Mexico"
Hello again in this topic,
I use a listbox to get the list of values and it works fine. The problem
is that in the next lines of code I have some x_mdialogs which pop up
together with my listbox. How can I suspend them until I choose values
from the list?
Regards,
Iza
Thank you very much. I haven't tried it this way but I was really close.
Regards,
Iza
W dniu 17.08.2018 13:01, Dang Ngoc Chan, Christophe napisał(a):
Hello,
De Izabela Wójcik-Grzaba
Envoyé : vendredi 17 août 2018 12:09
A=[0 0 0 0 0]' is the initial form of matrix
B=[10 15]' is the
Thank you Dang and Claus,
I know some of these "matrix functions" but "members" is a new one for
me although I thought that something like that must exist :-)
Now I have slightly different problem. I will show this on a simple
example:
A=[0 0 0 0 0]' is the initial form of matrix
B=[10 15]'
Hello,
Is there any simple way to remove from one vector elements which are in
another vector. For example:
a=[1 2 3 4 5 6 7 8]
b=[1 3 5]
resulting vector: c=[2 4 6 7 8].
I wonder if this can be done without a "for" loop.
Thanks in advance,
Iza
___
I think I've got something that works fine for me. I slightly changed
and added something new to Rafael's code:
// START OF CODE
stringmat = ["ITEM1";"ITEM2";"ITEM3";"ITEM4"];
w = 300; // width and height in pixels
h = 900;
max0 = max(size(stringmat));
stringmat = string((1:max0)') + repmat("
Rafael,
Thank you for your attempts. I thought it would be a rather simple task
because in the help text "value" for "listbox" uicontrol is described
as:
"value is a vector of indexes corresponding to the indexes of the
selected entries in the list. 1 is the first item of the list."
But when
istbox", "constraints", c, "margins", [5 5
5 5],..
"max",20,"min",0, "string", kier_y);
kier_z = [
"W 1 z", "#00", "#FF";
"W 2 z", "#FF", "#00";
"W 3 z&q
ot; link in their menu
bar.
Best regards
Samuel
Le 19/07/2018 à 14:13, Izabela Wójcik-Grząba a écrit :
Hi all,
I have another problem. In my program I create an initial plot which
is a basis for the input implemented by x_mdialog command. The problem
is that when the x_mdialog window pops up th
As Samuel GOUGEON suggested I reported a wish to upgrede function locate
for 3d graphs on Bugzilla:
https://bugzilla.scilab.org/show_bug.cgi?id=15674
Iza
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
I'm glad that my problem can help to improve Scilab and looking forward
to use the new version :-)
Iza
W dniu 19.07.2018 23:57, Samuel Gougeon napisał(a):
Le 19/07/2018 à 21:30, Samuel Gougeon a écrit :
Le 18/07/2018 à 15:19, Izabela Wójcik-Grząba a écrit :
Hello,
I am looking
Hi Rafael,
Thank you very much. This code is great, but I don't know how to use
datatipManagerMode when my param3d plot is in the frame inside the
graphic window. It seems that it's not working in such situation.
Regards,
Iza
___
users mailing list
Hi all,
I have another problem. In my program I create an initial plot which is
a basis for the input implemented by x_mdialog command. The problem is
that when the x_mdialog window pops up the figure window bocomes
inactive. It means that I can't zoom or rotate the plot which is
necessary
Thank you. It's quite a good idea. Shorter than mine, for sure.
Iza
W dniu 19.07.2018 12:49, Rafael Guerra napisał(a):
Then the following 'if' clause might be preferable, especially if you
have many properties to change:
if size(X,2)==1 then
X = [X X];
Y = [Y Y];
Z = [Z Z];
end
Thank you for your answer, but here all the polylines have the same
properties. The problem is when there is only one polyline because the
levels structure of figure properties are different then in the case of
multiple polylines.
But, as there is no other idea, I will stick with my "if"
Hello,
I am looking for an elegant and simple way to manage with changing
properties of polylines in a param3d1 plot. The problem is that
sometimes (in case of specific data) there is only one polyline to draw
but in most cases there are many polylines. By now I solved this problem
by using
Yes, I thought about the situation when the points are part of the
graph. As there is no such function in Scilab I will have to manage with
it in a different way. Thanks all.
Iza
W dniu 15.06.2018 10:48, Stéphane Mottelet napisał(a):
Of course, if points are part of a graph it is doable.
Hello,
I've got another question. Is there a function like "locate" but
appropriate for param3d plot. I would like to pick some points from my
param3d plot.
Regards,
Iza
___
users mailing list
users@lists.scilab.org
Thanks a lot all of you. The first method is fine provided that you
change the last command for: N=M(k,:). I think it is the same as Samuel
wrote in a shorter form.
Iza
W dniu 13.06.2018 15:07, sgoug...@free.fr napisał(a):
Hello,
- Mail original -
De: "CHEZE David 227480"
À:
dcolor",..
[1 1 1],"value",1,"callback","cbfun");
t=linspace(0,2*%pi,100);
plot(t,sin(t))
plot(t,cos(t))
scf(1)
clf
uicontrol("style","checkbox","backgroundcolor",..
[1 1 1],"value",1,"callback","cbfun&
ition
function cbfun()
h=gcbo();
ax=h.parent.children(1).children(1);
ax.children(1).visible=h.value;
endfunction
W dniu 19.04.2018 14:35, Stéphane Mottelet napisał(a):
Hello Iza,
If your uicontrol and your Axes are children of the same Figure, you
can recover the Axes rela
Hello,
In my programme in Scilab I create a figure with one plot and a checkbox
which turns on/off the visibility of some parts of the plot. The
callback function of checkbox works fine when there is only one figure,
but when there are, for example, two figures the callback works on the
64 matches
Mail list logo