[Scilab-users] Scilab analoge displays

2014-07-25 Thread der_Phil
Dear Forum,

being in search for analogue displays GUI's for Scilab I didn't really found
something.

Maybe I didnt search correct, but maybe this is still something to be
implemented into Scilab.

So, based on a matlab code snipplet I created a small program, that uses a
background image and uses this as a tachometer display for velocity values.

The code can be found at: 

http://fileexchange.scilab.org/toolboxes/312000

I use Scialb 5.4.1 on a WIN-XP 32 bit machine.
The image handling commands are based on SIVP (or AIVP) and PID toolboxes.

Let me know what you think about.
Maybe this will help to create a small GUI at your own.

Best Regards,
Phil



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-analoge-displays-tp4030962.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] Scilab analoge displays

2014-07-25 Thread der_Phil
Hi Mehran,

in fact I do agree. Knobs and displays like you showed would be really nice.

Greetings,
Philipp

2014-07-25 16:27 GMT+02:00 A Khorshidi [via Scilab / Xcos - Mailing
Lists Archives] ml-node+s994242n4030966...@n3.nabble.com:

 Hi Philipp;

 I've not tried out your code yet but it seems to be a solution to what I
 currently wanna do. I agree that analogue displays are rare in Scilab and
 moreover, there is the same tragedy for analogue inputs. Although we can use
 slider-style uicontrol in linear cases, there is no option in rotary cases.

 So I'm sure you'll agree that the addition of a new uicontrol style is
 definitely necessary (As I posted here:
 http://mailinglists.scilab.org/Scilab-users-slider-style-uicontrol-in-a-rotary-fashio-tp4030957.html).

 Regards,
 Mehran
 _


 
 If you reply to this email, your message will be added to the discussion
 below:
 http://mailinglists.scilab.org/Scilab-analoge-displays-tp4030962p4030966.html
 To unsubscribe from Scilab analoge displays, click here.
 NAML



-- 
There we have the salad.




--
View this message in context: 
http://mailinglists.scilab.org/Scilab-analoge-displays-tp4030962p4030967.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] Plot overlays on images

2014-04-04 Thread der_Phil
Dear Peter,

although the thread is already a bit aged...here's how it may work:

- open an external image processing software (like IrfanView) from Scilab
using the dos command

- rotate the image with IrfanView and save the new created image

- load the new image into Scilab using imread();

- use ShowImage to overlay your plot and the image

- save the overlayed image (maybe use: xs2bpm(Graphics) or imwrite(SVIP) or
WriteImage(IPD))...get final image but in wrong orientation

- to get final orientation use the dos command again rotate back and save
the final image


- to use the dos command you may type:

cd 'path/to/irfanview/folder';

[output, err] = dos('i_view32.exe \complete\path\to\image /rotate_l
/convert=complete\path\to\save\image\directory\newimage');

see also the i_options.txt (can be found in the IrfanView folder) from
irfanview to get the optional parameters for batch processing

Hope this still helps,
der_Phil







--
View this message in context: 
http://mailinglists.scilab.org/Plot-overlays-on-images-tp2617675p4030250.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