Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Frieder Nikolaisen
Hi Jens and Samuel, thanks. I am going to include your tips. Best regards Frieder On 2016-10-12 20:15, Jens Simon Strom wrote: > Hallo Frieder, > If you insert > plot(x(M),y(M),'go') after //Writing measurement numbers > > you get circle marks at the selected points to ease their cor

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Samuel Gougeon
Hello, It is presently pretty hard to follow common abscissae accross the 3 plots. You might add x grids (vertical lines at the x graduations). See for instance xgrid() or gca().grid: https://help.scilab.org/docs/6.0.0/en_US/xgrid.html https://help.scilab.org/docs/6.0.0/en_US/axes_properties.html

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Jens Simon Strom
Hallo Frieder, If you insert plot(x(M),y(M),'go') after //Writing measurement numbers you get circle marks at the selected points to ease their correlation to the measurement number. Kind regards Jens --- Am 12.10.2016 18:16, schrieb

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Jens Simon Strom
Hallo Frieder, You can independently combine stack and skip of the measurement numbers by the code below. //Plotting measurement numbers with optional gaps and optional stacking to avoid overlapping //Generating dummy measurement data x,y and plotting them dx=0.5:50;// increment of x x=cumsum(

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Frieder Nikolaisen
Hello everybody, I did solve the Problem with showing only 10 line numbers, by using IF. printer=1 for k=1:A_size(1,1) //Beschriftung IF K>A_SIZE(1,1)*(PRINTER/10) THEN printer = printer + 1 xstring(x(k),y3(1),string(k)) // xstring(x,y,str,[angle,[box]]) end set(handles.Anzeige, 'st

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Jens Simon Strom
Hello Frieder, Your plots look better now. You can avoid overlapping of measurement numbers by sawtooth stacking them. See example code below. xdel(); //Generating dummy measurements x,y dx=0.5:50; x=cumsum(dx); y=sind(x); nM=length(x);//number of measurements plot(x,y,'r') plot(x,y,'b+') //Pl

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Frieder Nikolaisen
Hello, thank you for all the feedback and help. It's really great. I used the idea of Jens Simon Strom combined with some help from last week: //Datensätze x1 = (A(:,1) - A(1,1)) * 24 * 3600; y1 = A(:,y_1); y2 = A(:,y_2); y3 = A(:,y_3); drawlater() subplot(3, 1, 1) co = color("green");

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Samuel Gougeon
Hello, Le 11/10/2016 14:46, Rafael Guerra a écrit : Hi, I was not able to follow the whole discussion Neither did i, but concerning your subplot challenge: “/… I cannot add a second x-axis in a subplot by newaxis(). How to add a x-axis by using subplot?/”and your last example, Couldn’t

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Rafael Guerra
Hi Frieder, Please, check this for the 2nd x-axis matter: x1 = -10:0.5:10; y1 = sin(x1); x2 = -20:20; y2= 5*cos(x2); x3 = -30:2:30; clf() subplot(4,1,1) plot(x1,y1,'r') subplot(4,1,2) plot(x2,y2,'b') subplot(4,1,3) plot(x1,y1,'g',x2,y2,'c') subplot(4,1,4) plot2d(x3,0*x3,strf="020"); //no box su

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Frieder Nikolaisen
F OF Frieder Nikolaisen > SENT: Tuesday, October 11, 2016 11:04 AM > TO: Users mailing list for Scilab > SUBJECT: Re: [Scilab-users] Fwd: plotxxyyy > > Dear Jens, > > yes, the plot_date_16_lines.gif Show real data, but only a few lines of it. > > For two reasons,

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Rafael Guerra
by plotting only zeros)? Regards, Rafael From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Frieder Nikolaisen Sent: Tuesday, October 11, 2016 11:04 AM To: Users mailing list for Scilab mailto:users@lists.scilab.org>> Subject: Re: [Scilab-users] Fwd: plotxxyyy Dear Jens

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Frieder Nikolaisen
Dear Jens, yes, the plot_date_16_lines.gif Show real data, but only a few lines of it. For two reasons, showing the datevec isn't a good approach i asked for. Your tip to show the secounds instead of the datenumber, solved the Problem to have a readalbe time. I use a first diagramm for choos

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Jens Simon Strom
Dear Frieder, Your diagram problem seems still to be pending. For further assistance it would be helpful if you answered a couple of questions: 1. Does your attachment "plot_date_16_lines.gif" (your mail 06.10.2016 15:06) show real time data? 2. Is the overlap of the time labeling text colums (Y

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-10 Thread Frieder Nikolaisen
Dear Philipp, thanks for you help. I tried to adopt your Code to my programm. No success. There is a prolbem I should have metioned eralier. The time between each datapoint has a different time period. So I cant print the y-axis over the time and add a a secound x axis for the line of documen

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-10 Thread Philipp Mühlmann
Dear Frieder, one more comment. Instead of using "foo"-data, it might be more useful to plot each graph several times. Otherwise the y-axes are not assosiated with the data and you have to take more care about them. e.g.: // display all graph on first x-axis plot2d(x1,y1);// and hide the y

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-08 Thread Philipp Mühlmann
OK. Please find attached a sample that might help you. Note: It is possible to draw only an axis without showing the corresponding data. Hence: One can create some "fake" or "foo" data not displaying them, but showing the corresponding axis. so using this principle, you can draw as many axes as

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-08 Thread Frieder Nikolaisen
Dear Philipp, thank you, thats great. I will try it at work on monday. Actually, I do have three plots sharing a common x axis and having three different y axis. Why I do want to have two x axis is, to show to different times on x. Once in secound, once in line of document. Best regards Fri

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-08 Thread Philipp Mühlmann
Dear Frieder, I understand following: You want to plot 3 graphs into one diagram. Basically each graph has it's own x and y axis. Since for two graphs the x-axis are the same, you want to have a diagram with two x-axis and three y-axis Please find a code snipplet that will create such a diagra

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-06 Thread Jens Simon Strom
*Edit in #3* Am 06.10.2016 18:20, schrieb Jens Simon Strom: Hallo Frieder, You ask many questions in one post. 1: You just divide the (numerical) time interval into an adequate number of points (which can be neatly accommodated) with linspace or ':' and plot the corresponding time text colum

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-06 Thread Jens Simon Strom
Hallo Frieder, You ask many questions in one post. 1: You just divide the (numerical) time interval into an adequate number of points (which can be neatly accommodated) with linspace or ':' and plot the corresponding time text colums via a for-loop. There is no need that 'text times' coincid

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-06 Thread Frieder Nikolaisen
Hello, to Jens: ich habe Fortschritte gemacht, bin dennoch nicht zum Ergebnis gekommen. I will write about the problem, in English: 1. Attached are two plots. The 16 line plot shows the Dates. But even with just 16 lines, it's not easy to read, as there are to many Dates ploted. How can I r

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-04 Thread Jens Simon Strom
Hallo Frieder, I mean a diagram with /one/ y-axis quantified by /one/ numeric /scale/. The x-axis could be the automatically generated one showing the serial date number, advantageously shortened by an adequate offset. The YY.MM.DD.HH.MM.SS information could be accomodated at the bottom of the

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-03 Thread Frieder Nikolaisen
Hello togehter, thank you for your answers. I do have to plot again and again for choosing the best time interval. Jens, what do you mean with using a single diagram? A diagram with one x and one y axis? And writing n/10^3 U/min) might look nicer, bit is not solving the problem of having the

Re: [Scilab-users] Fwd: plotxxyyy

2016-09-30 Thread Jens Simon Strom
Dear Frieder, My first reflex is to dodge the questions you are asking and to use a simpler approach instead: Call the y-axis 'n/(10^3U/min), P/MW, a/(10m/s^2)' and plot the values into one *single* diagram over 't/h' which is calculated as (T-int(T))*24. Note that dividing the quantity by it

Re: [Scilab-users] Fwd: plotxxyyy

2016-09-30 Thread Frieder Nikolaisen
Dear Jens, there is not much to be confused about. I have attached my Diagramms with that Code but real data. The mininmal example is just crap, because of the random Matrix A. The Grafik-Fenster Nummer 10 is only for choosing the Intervall of intrest. The 11 is the detail to look at

Re: [Scilab-users] Fwd: plotxxyyy

2016-09-30 Thread Jens Simon Strom
Dear Frieder, It looks like you would like to put plenty of information into one single diagram. This tends to become confusing and difficult to read. It would help your helpers if you enclosed a (manual) sketch how the final result of your visualisation should look like. And perhaps that could