|
From: Jon <dev...@gm...> - 2015-10-11 16:02:53
|
On Sun, Oct 11, 2015 at 11:31 AM, sfeam <sf...@us...> wrote: > On Sunday, 11 October 2015 11:14:31 AM Jon wrote: > > > Thanks for your response. I did have points on x axis twice that of y > axis, > > > but x,y range are the same, both from -1 to 1. > > > > So if you had filled both x and y it would have been a square, right? > > Isn't that what you wanted? > Yes, this is what I would like to achieve. If you think you can achieve the effect I am after, could you please send back your plot based on my input data? > > > Would set view care about how many points along each axis or it only > cares > > > about the values to be plotted? > > > > Neither. "set view" cares about the coordinate system itself, > > regardless of what points you do or do not plot. > > > > "set view equal xyz" gives you an orthogonal coordinate system so > > that a line segment from [a,b,c] to [a,b,c+1] has the same apparent > > length as one from [d,e,f] to [d+1,e,f] and so on. > > > BTW, why would the following two commands > > > > > > set term x11 size 10,600 > > > > > > set term x11 size 600,600 > > > > > > have no control on the output on the screen? > > > > > > Can anybody comment on that? > > > > It controls the size of the next x11 plot window you open. > > It does not change what is already on the screen. > I did replot after changing these settings, but don't see any change, which surprises me. Thanks for further help, my gnuplot version is 4.2 patch 6, is this too old a version? Sincerely, Jon > > > Ethan > > > > > Sincerely, > > > Jon > > > > > > > > > On Thu, Oct 8, 2015 at 12:20 PM, sfeam <sf...@us...> > wrote: > > > > > > > On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > > > > > > > > > Thanks, I tried to plot the data attached with the following > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > set view 0,0 > > > > > > > > > splot 'aaa' u 1:2:3 > > > > > > > > > > > > > > > > > > but cannot get a square shape on the xy plane, any cure for it? > > > > > > > > > > > > > > > > But you didn't draw a square. > > > > > > > > As is clearly visible in the figure you attached, you drew a > > > > > > > > rectangle that is 2 units by 1 unit. > > > > > > > > > > > > > > > > The "set view equal xyz" command makes sure that the unit length > > > > > > > > is the same on all axes. I.e. the aspect ratio is 1. > > > > > > > > But it's still up to you to draw something with the right dimensions. > > > > > > > > > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Both data and what I got is attached. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > > > > > > > > > > > > > > > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have been fighting with it for some time and would like to > know a > > > > > > > > > > > > > > > > > > > > > solution. I want the 3D plot to be shown with a cube with actual > > > > equal > > > > > > > > > > > > > > > > > > > > > length of x,y,z. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |