[Scilab-users] loglog plot in 3d

2013-11-06 Thread samaelkreutz
Hello everyone!!!

Im working in an attenuation curve. So in my first plot is only a 2d
version. And looks like:
http://mailinglists.scilab.org/file/n4027785/loglog_test2.png 

So, now I have an extra challenge, add a third variable... this variable if
the color of each cross in the first plot. My doubts are: ok i can plot
the data in 3d but how can i keep the log log form?

In my first plot i used those lines:

J = DM(a,:);
mag=J(:,2); // Magnitude [Mw]
depth=J(:,3);//  [km]
Dist=J(:,1) // [km]
acc=J(:,4);// acceleration 


// Plot Log Log
//scf(6);
//clf(6);
//plot2d(ll,Dist,acc,-1); 
//p.children.mark_mode = on; 
//p.children.mark_style = 9;
//p.children.thickness = 3;
//p.children.mark_foreground = 2;
//xtitle(Loglog, Distance (km), Peak Ground Acceleration (m/s/s));
set(gca(),grid,[10 10]);



and now for my second version mag is my third  variable and gonna give the
color. How can I do that???
Please, please!!!
I need help 

I'll be very thankful !!!










--
View this message in context: 
http://mailinglists.scilab.org/loglog-plot-in-3d-tp4027785.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] loglog plot in 3d

2013-11-06 Thread Serge Steer
You can use
set(gca(),'log_flags','lln') to have the x and y axis in log mode and z in 
normal (linear) mode

Serge Steer

- Mail original -
 De: samaelkreutz mariajov...@icloud.com
 À: users@lists.scilab.org
 Envoyé: Mercredi 6 Novembre 2013 19:30:04
 Objet: [Scilab-users] loglog plot in 3d
 
 Hello everyone!!!
 
 Im working in an attenuation curve. So in my first plot is only a 2d
 version. And looks like:
 http://mailinglists.scilab.org/file/n4027785/loglog_test2.png
 
 So, now I have an extra challenge, add a third variable... this
 variable if
 the color of each cross in the first plot. My doubts are: ok i can
 plot
 the data in 3d but how can i keep the log log form?
 
 In my first plot i used those lines:
 
 J = DM(a,:);
 mag=J(:,2); // Magnitude [Mw]
 depth=J(:,3);//  [km]
 Dist=J(:,1) // [km]
 acc=J(:,4);// acceleration
 
 
 // Plot Log Log
 //scf(6);
 //clf(6);
 //plot2d(ll,Dist,acc,-1);
 //p.children.mark_mode = on;
 //p.children.mark_style = 9;
 //p.children.thickness = 3;
 //p.children.mark_foreground = 2;
 //xtitle(Loglog, Distance (km), Peak Ground Acceleration
 (m/s/s));
 set(gca(),grid,[10 10]);
 
 
 
 and now for my second version mag is my third  variable and gonna
 give the
 color. How can I do that???
 Please, please!!!
 I need help
 
 I'll be very thankful !!!
 
 
 
 
 
 
 
 
 
 
 --
 View this message in context:
 http://mailinglists.scilab.org/loglog-plot-in-3d-tp4027785.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
 
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users