[Scilab-users] Function "locate" for 3d graphs

classic Classic list List threaded Threaded
11 messages Options
Iza Iza
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Function "locate" for 3d graphs

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
André FS André FS
Reply | Threaded
Open this post in threaded view
|

Re: Function "locate" for 3d graphs

Hi Iza,

What if you use the linear_interpn [1]?

[1] https://help.scilab.org/doc/5.3.3/en_US/linear_interpn.html

Regards,

André

Em qui, 14 de jun de 2018 às 08:30, Izabela Wójcik-Grząba <[hidden email]> escreveu:
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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

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

Re: Function "locate" for 3d graphs

Hello,

Your 3D graphics is projected on 2D. How could you get points in 3D ?

S.

Le 15 juin 2018 à 04:12, André FS <[hidden email]> a écrit :

Hi Iza,

What if you use the linear_interpn [1]?

[1] https://help.scilab.org/doc/5.3.3/en_US/linear_interpn.html

Regards,

André

Em qui, 14 de jun de 2018 às 08:30, Izabela Wójcik-Grząba <[hidden email]> escreveu:
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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

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

Re: {EXT} Re: Function "locate" for 3d graphs

Hello,

> De : users [mailto:[hidden email]] De la part de Stéphane Mottelet
> Envoyé : vendredi 15 juin 2018 08:49
>
> Your 3D graphics is projected on 2D. How could you get points in 3D ?

This is a common feature of the CAD softwares and I think I already saw this on some data analysis software.
Youv'e got an injective function between the projected points on the screen and the 3D data points.

However, I don't claim it is easy to implement.
I guess you can do this manually with the matrix used for the 2D projection
which you can compute from the view angles.

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: {EXT} Re: Function "locate" for 3d graphs

Of course, if points are part of a graph it is doable. But a « locate » giving raw 3D coordinates has no sense...

S.

> Le 15 juin 2018 à 09:24, Dang Ngoc Chan, Christophe <[hidden email]> a écrit :
>
> Hello,
>
>> De : users [mailto:[hidden email]] De la part de Stéphane Mottelet
>> Envoyé : vendredi 15 juin 2018 08:49
>>
>> Your 3D graphics is projected on 2D. How could you get points in 3D ?
>
> This is a common feature of the CAD softwares and I think I already saw this on some data analysis software.
> Youv'e got an injective function between the projected points on the screen and the 3D data points.
>
> However, I don't claim it is easy to implement.
> I guess you can do this manually with the matrix used for the 2D projection
> which you can compute from the view angles.
>
> 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
> [hidden email]
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

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

Re: {EXT} Re: Function "locate" for 3d graphs

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. But a « locate
> » giving raw 3D coordinates has no sense...
>
> S.
>
>> Le 15 juin 2018 à 09:24, Dang Ngoc Chan, Christophe
>> <[hidden email]> a écrit :
>>
>> Hello,
>>
>>> De : users [mailto:[hidden email]] De la part de
>>> Stéphane Mottelet
>>> Envoyé : vendredi 15 juin 2018 08:49
>>>
>>> Your 3D graphics is projected on 2D. How could you get points in 3D ?
>>
>> This is a common feature of the CAD softwares and I think I already
>> saw this on some data analysis software.
>> Youv'e got an injective function between the projected points on the
>> screen and the 3D data points.
>>
>> However, I don't claim it is easy to implement.
>> I guess you can do this manually with the matrix used for the 2D
>> projection
>> which you can compute from the view angles.
>>
>> 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
>> [hidden email]
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Function "locate" for 3d graphs

In reply to this post by Iza
Hello Izabela,

locate() is being fixed against 3 bugs in 2D @
https://codereview.scilab.org/#/c/20018/
But beyond this, you are right, it could deserve to be upgraded in order
to become
usable in 3D.
Please do not hesitate to post a report for this wish, on bugzilla.

The interactive java curve editor is already able to edit 3D curves:
param3d() + right-click on the curve and edit its points.

But locate() and xchange() presently work only in 2D.

Regards
Samuel

Le 14/06/2018 à 13:28, Izabela Wójcik-Grząba a écrit :

> 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
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users
>

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

Re: Function "locate" for 3d graphs

Hi Iza,


Not sure if this is what you need but I wrote the following code you can try on:


// START OF CODE
//From param3d datatips to data vector
clear
clf
param3d()
datatipManagerMode(gcf())
// Edit --> Start Datatip manager --> Stop Datatip manager
input("ENTER to continue after stopping datatips","string")
e = gce()
n = size(e.datatips,1);
x = zeros(n,3);
for i=1:n
    x(i,:) = e.datatips(i).data;
end
// END OF CODE

Regards,

Rafael


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

Re: Function "locate" for 3d graphs

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Iza Iza
Reply | Threaded
Open this post in threaded view
|

Re: Function "locate" for 3d graphs

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Function "locate" for 3d graphs

Le 20/07/2018 à 12:20, Izabela Wójcik-Grząba a écrit :
> 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

This could be implemented for Scilab 6.1 after the commit fixing
locate() in 2D, pending for 80 days still without review is validated,
integrated in Scilab 6.0.2, and transfered to Scilab 6.1.


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