help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print plot is cutting the image


From: Ben Abbott
Subject: Re: print plot is cutting the image
Date: Fri, 08 Apr 2011 14:16:46 -0400

On Apr 8, 2011, at 2:10 PM, Érico Porto wrote:

> On Fri, Apr 8, 2011 at 10:35 AM, William Krekeler <address@hidden> wrote:
>  
>> From: address@hidden [mailto:address@hidden On Behalf Of Érico Porto
>> Sent: Thursday, April 07, 2011 11:01 PM
>> To: Ben Abbott
>> 
>>> Cc: address@hidden
>>> Subject: Re: print plot is cutting the image
>>> 
>>>  
>>> On Thu, Apr 7, 2011 at 7:26 PM, Ben Abbott <address@hidden> wrote:
>>> 
>>> On Apr 7, 2011, at 6:07 PM, Dmitri A. Sergatskov wrote:
>>> 
>>> > On Thu, Apr 7, 2011 at 3:21 PM, bpabbott <address@hidden> wrote:
>>> >
>>> >> Does anyone know if gnuplot supports rotation of axes labels?
>>> >
>>> > Mine (which is pretty recent CVS snapshot) does. I do not know when was 
>>> > that
>>> > first implemented.
>>> >
>>> > gnuplot> set ylabel "Y" rotate by 0
>>> > gnuplot> plot sin(x)
>>> > gnuplot> set ylabel "Y" rotate by 180
>>> > gnuplot> replot
>>> >
>>> >
>>> >> Ben
>>> >>
>>> >
>>> > Dmitri.
>>> 
>>> I'm a bit embarassed. The developers sources to allow the rotation to be 
>>> specified and display the result correctly.
>>> 
>>> Ben
>>> 
>>> 
>>> Ben, I couldn't understand a single word!
>>> 
>>> Bpabbott, took me your second setze to understand what top post is, not 
>>> very familiar with forum language.
>>> 
>>> Dmitri, it's not working here now, so I will try to update and see if it 
>>> works - I'm logged on windows right now, so this will have to wait.
>>> 
>>> William, it isn't length, it is sizeof(<string>)... Took me a while to 
>>> figure out this one. Length gave me a undesired 1 as result. I'm getting my 
>>> text from a text file, than spliting it throught split thaaaan extracting 
>>> it by selecting from the array {} ... to something like b="string"
>>> 
>>> Thank you all
>>> 
>>> (btw, the best solution from the web is to convert the plot to ascii and 
>>> then ploting in gnuplot outside octave. Though this is an horrible 
>>> solution, it works, but I manage to cute the letters from the legend to 
>>> small it... Couldn't change the legend fontsize though.)
>>  
>> Erico,
>>  
>> I'm curious, your string must not be of class char if length failed. If your 
>> string variable is x, what does 'whos x' give as the class?
>> 
>> William Krekeler
> 
> what is the command to retrieve the class?
> 
> Érico V. Porto

octave:10> x = 1;
octave:11> class(x)
ans = double

p.s. please reply at the bottom so that those arriving late can follow along. 
Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]