[Scilab-users] Transition from Xcos 5.5 to 6.0

classic Classic list List threaded Threaded
12 messages Options
davegutz davegutz
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Transition from Xcos 5.5 to 6.0

This post was updated on .
Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages.

There are no special import functions I can find in the 6.0 help. There are
no white papers I've found yet on the scilab website. I suspect that since
6.0 was a substantial rewrite that we need to substantially redraw our xcos
diagrams to move from 5.5 to 6.0? Can anybody confirm?

I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block
diagrams and connectors. It is happily opened by v6.0.2 but it is blank
except from some annotations that got carried over.

I need a clue.

Thank you for your time.   Dave





--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: Transition from Xcos 5.5 to 6.0

Hello,

Thank you for having moved your original from Stackoverflow. Clément is
the expert for Xcos stuff, I hope he will be able to help you.

S.

Le 16/07/2019 à 22:17, davegutz a écrit :

> Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages.
>
> There are no special import functions I can find in the 6.0 help. There are
> no white papers I've found yet on the scilab website. I suspect that since
> 6.0 was a substantial rewrite that we need to substantially redraw our xcos
> diagrams to move from 5.5 to 6.0? Can anybody confirm?
>
> I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block
> diagrams and connectors. It is happily opened by v6.0.2 but it is blank
> except from some annotations that got carried over.
>
> I need a clue.
>
> Thank you for your time.   Dave
>
>
>
> --
> Sent from: https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> [hidden email]
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] transparently overlapping histograms

Scilab friends:

I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
Heinz
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant Antoine Monmayrant
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms


Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
> Scilab friends:
>
> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
Basically?
You can't.
Scilab does not support transparency.
My current workaround for transparent plots/graphs/surfaces is to plot
everything in scilab, export as svg then edit the svg with Inkscape to
set the transparency.

Having transparency support in scilab would be a nice improvement...


Antoine

> Heinz
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms

Thanks a lot- unfortunately no idea about svg and inkscape.

The neat thing with Scilab is that everything is easy and quick, both in calculation and display...

Heinz



> On 19.07.2019, at 09:42, Antoine Monmayrant <[hidden email]> wrote:
>
>
> Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
>> Scilab friends:
>>
>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
> Basically?
> You can't.
> Scilab does not support transparency.
> My current workaround for transparent plots/graphs/surfaces is to plot everything in scilab, export as svg then edit the svg with Inkscape to set the transparency.
>
> Having transparency support in scilab would be a nice improvement...
>
>
> Antoine
>
>> Heinz
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.scilab.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms


Heinz,

Inkcape is a free software for vectorial graphics manipulation, similar to Freehand or Adobe Illustrator. It can be downloaded from https://portableapps.com/apps/graphics_pictures/inkscape_portable as a portable application and it is relatively easy to use. I haven't used to set transparency but it should surely be straightforward.

Federico Miyara


On 19/07/2019 04:55, Heinz Nabielek wrote:
Thanks a lot- unfortunately no idea about svg and inkscape.

The neat thing with Scilab is that everything is easy and quick, both in calculation and display...

Heinz



On 19.07.2019, at 09:42, Antoine Monmayrant [hidden email] wrote:


Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
Scilab friends:

I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
Basically?
You can't.
Scilab does not support transparency.
My current workaround for transparent plots/graphs/surfaces is to plot everything in scilab, export as svg then edit the svg with Inkscape to set the transparency.

Having transparency support in scilab would be a nice improvement...


Antoine

Heinz
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users




Libre de virus. www.avast.com

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms

In reply to this post by Antoine Monmayrant
On 19.07.2019, at 09:42, Antoine Monmayrant <[hidden email]> wrote:
>
>
> Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
>> Scilab friends:
>>
>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
> Basically?
> You can't.

Primitive, but simple trick to outwit Scilab for my purposes:

first dataset plotted with histplot
subsequent datasets with histc and plotting squares with same width as histogram in differen colours...
h

d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2;

plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]);

histplot(i,grand(10000,1,'nor',0,1),style=5);

A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9);
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms

Hello Heinz,

After histplot(), you can just disable the filling of bars:

d = rand(1,10000,'normal');
clf
histplot(-3:0.5:3,d,normalization=%f);
histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red"));
gca().children.children.fill_mode = "off";


Samuel

Le 19/07/2019 à 13:22, Heinz Nabielek a écrit :
On 19.07.2019, at 09:42, Antoine Monmayrant [hidden email] wrote:

Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
Scilab friends:

I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
Basically?
You can't.
Primitive, but simple trick to outwit Scilab for my purposes:

first dataset plotted with histplot
subsequent datasets with histc and plotting squares with same width as histogram in differen colours...
h

d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2;

plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]);

histplot(i,grand(10000,1,'nor',0,1),style=5);

A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9);
A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9);
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Heinz Nabielek-3 Heinz Nabielek-3
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms

G R E A T

T H A T   I S   I T

WHAT I HAD BEEN LOOKING FOR....
HEINZ

> On 19.07.2019, at 13:41, Samuel Gougeon <[hidden email]> wrote:
>
> Hello Heinz,
>
> After histplot(), you can just disable the filling of bars:
>
> d = rand(1,10000,'normal');
> clf
> histplot(-3:0.5:3,d,normalization=%f);
> histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red"));
> gca().children.children.fill_mode = "off";
>
> <bjgpmldpmdnlheaj.png>
>
> Samuel
>
> Le 19/07/2019 à 13:22, Heinz Nabielek a écrit :
>> On 19.07.2019, at 09:42, Antoine Monmayrant <[hidden email]>
>>  wrote:
>>
>>>
>>> Le 19/07/2019 à 09:30, Heinz Nabielek a écrit :
>>>
>>>> Scilab friends:
>>>>
>>>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab?
>>>>
>>> Basically?
>>> You can't.
>>>
>> Primitive, but simple trick to outwit Scilab for my purposes:
>>
>> first dataset plotted with histplot
>> subsequent datasets with histc and plotting squares with same width as histogram in differen colours...
>> h
>>
>> d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2;
>>
>> plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]);
>>
>> histplot(i,grand(10000,1,'nor',0,1),style=5);
>>
>> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9);
>> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9);
>> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9);
>> _______________________________________________
>> users mailing list
>>
>> [hidden email]
>> http://lists.scilab.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
RolandB RolandB
Reply | Threaded
Open this post in threaded view
|

Re: transparently overlapping histograms

In reply to this post by Antoine Monmayrant
Hi,

Actually there is a possibility for some kind of transparency in Scilab.

See here:

https://help.scilab.org/docs/6.0.2/en_US/pixel_drawing_mode.html

It would be nicer if the bitwise operations could be done with the number
that finally selects a color from the color table, as that would enable to
achieve much better pseudo-transparency, but the present possibilities are
still better than nothing.

Roland





--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Clément David-3 Clément David-3
Reply | Threaded
Open this post in threaded view
|

Re: Transition from Xcos 5.5 to 6.0

In reply to this post by davegutz
Hello,

As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an issue within the zcos files you use. Could you please send these files (or report a bug and attach them) to check?

A potential issue might come from encoding, another by misrepresenting the diagram hierarchy (setting the wrong diagram root for exemple).

--
Clément

> -----Original Message-----
> From: users <[hidden email]> On Behalf Of davegutz
> Sent: Tuesday, July 16, 2019 10:18 PM
> To: [hidden email]
> Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0
>
> Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages.
>
> There are no special import functions I can find in the 6.0 help. There are no
> white papers I've found yet on the scilab website. I suspect that since
> 6.0 was a substantial rewrite that we need to substantially redraw our xcos
> diagrams to move from 5.5 to 6.0? Can anybody confirm?
>
> I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block diagrams
> and connectors. It is happily opened by v6.0.2 but it is blank except from some
> annotations that got carried over.
>
> I need a clue.
>
> Thank you for your time.   Dave
>
>
>
> --
> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-
> f2602246.html
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Transition from Xcos 5.5 to 6.0

Le 22/07/2019 à 15:58, Clément David a écrit :
Hello,

As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an issue within the zcos files you use. Could you please send these files (or report a bug and attach them) to check?

Dave's answer in a private mail:

Le 19/07/2019 à 01:16, Dave Gutz a écrit :
Thanks, Samuel!   I had misread the version of Scilab I was using.  It was 6.0.1 afterall.    Now I'm chasing regular scripting port issues and it's much more satisfying.



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users