Thanks Ben & Alex. I must confess the example at the finkers blog was unclear 
to me (I don't normally use apt-get or binaries), but in the end all I did was

% fink remove -r gnuplot
% fink install gnuplot-4.6.6
% fink install octave

Before the above fix, the octave example below would save a completely black 
plot (though it looked fine on screen). 

octave:1> theta = 0:0.1:4*pi;
octave:2> plot(theta,sin(theta))
octave:3> print("test.pdf",'-dpdf')

After downgrading gnuplot to 4.6.6, octave & gnuplot cooperate as they should.

All the best,
Charles


> On 2015 Apr 26, , at 9:28 AM, Ben Abbott <bpabb...@mac.com> wrote:
> 
> 
>> On Apr 26, 2015, at 11:08 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
>> wrote:
>> 
>>> 
>>> On Apr 25, 2015, at 18:28, Ben Abbott <bpabb...@mac.com> wrote:
>>> 
>>> 
>>>> On Apr 25, 2015, at 12:59 PM, Alexander Hansen 
>>>> <alexanderk.han...@gmail.com> wrote:
>>>> 
>>>> 
>>>>> On Apr 24, 2015, at 16:23, Ben Abbott <bpabb...@mac.com> wrote:
>>>>> 
>>>>>> On Apr 24, 2015, at 6:18 PM, Charles C. Kankelborg 
>>>>>> <kan...@solar.physics.montana.edu> wrote:
>>>>>> 
>>>>>> Right now it's not possible to save plots from the octave command line 
>>>>>> because of this bug:
>>>>>> 
>>>>>>  http://savannah.gnu.org/bugs/?42838
>>>>>> 
>>>>>> The suggested work-around is to back down from gnuplot 5.0 to 4.6.5. Is 
>>>>>> there a way to do that in fink? I tried
>>>>>> 
>>>>>>  fink install gnuplot-4.6.5
>>>>>> 
>>>>>> but the package specification was not found. I suspect I'd have to get 
>>>>>> past dependencies in some way even if this version were available? Am 
>>>>>> running Yosemite, 10.10.3.
>>>>>> 
>>>>>> Any suggestions?
>>>>>> 
>>>>>> Charles
>>>>> 
>>>>> There are some instructions for downgrading a package at the link below.
>>>>> 
>>>>>   https://finkers.wordpress.com/2012/12/25/downgrading-packages/
>>>>> 
>>>>> Ben
>>>>> ———————————————————————————————————————
>>>> 
>>>> I just made 4.6.6 available as an option. 
>>>> -- 
>>>> Alexander Hansen, Ph.D.
>>>> Fink User Liaison
>>> 
>>> Alex,
>>> 
>>> What am I missing?
>>> 
>>> $ sudo apt-get install gnuplot=4.6.6
>>> Reading Package Lists... Done
>>> Building Dependency Tree... Done
>>> E: Version '4.6.6' for 'gnuplot' was not found
>>> 
>>> Ben
>> 
>> It hasn’t been built for the binary distribution for a couple of reasons:
>> 
>> A)  I just added it.  It typically takes a few days for a new package to get 
>> built and uploaded.  That’s a general issue.
>> B)  Although it probably won’t be available later, either, because the 
>> binary distribution  build scripts only build the latest version of a 
>> package, to the best of my knowledge. 
>> 
>> Try “fink install gnuplot-4.6.6”
>> 
>> --Alex
> 
> Thanks. That worked for me.
> 
> Ben
> 
> 
> 

________________________________________________________________________
Charles Kankelborg AC7NY |
260C EPS Building        | 
Physics Department       |  "We can lick gravity, but sometimes the
Montana State University |  paperwork is overwhelming."
Bozeman, MT 59717        | 
Phone: 406-994-7853      |          --Wernher von Braun
FAX:   406-994-4452      |
http://solar.physics.montana.edu/kankel/


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to