Skip to main content
Flags have been updated on the brew recipe
Source Link
Ian C.
  • 46.5k
  • 34
  • 170
  • 239

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qtqt5

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal x11
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts. If you need monochrome, you can also set terminal xterm.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal x11
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts. If you need monochrome, you can also set terminal xterm.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt5

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal x11
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts. If you need monochrome, you can also set terminal xterm.

COLOR all the lines
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal xtermx11
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts. If you need monochrome, you can also set terminal xterm.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal xterm
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal x11
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts. If you need monochrome, you can also set terminal xterm.

added 90 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal xterm
set keytitle left"Some boxMath Functions"
set samples 150
plotxrange [-10:10]
set sinyrange [-2:2]
set zeroaxis
plot (x/4)**2,atan sin(x),cos(atan( 1/x))

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal xterm
set key left box
set samples 150
plot [-10:10] sin(x),atan(x),cos(atan(x))

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts.

Your image looks more like qt than X11, so you could reinstall gnu plot to call the qt graphics library:

brew reinstall gnuplot --with-qt

That's much simpler than getting XQuartz and X11 running since homebrew installs everything you need.

enter image description here

If you wanted to go X11 for reasons, then here is a nice tutorial and links to the visualization tools that should work on recent OS X versions.

It uses X11 for the visualization and should help you get your graph on.

  1. http://xquartz.macosforge.org/landing/ Install the package that gets downloaded, then
  2. brew rm gnuplot && brew install gnuplot --with-x11

Then start XQuartz, make a new xterm and run a script like this in the xterm window running gnuplot:

set terminal xterm
set title "Some Math Functions"
set xrange [-10:10]
set yrange [-2:2]
set zeroaxis
plot (x/4)**2, sin(x), 1/x

Skip the "set terminal" line if you are using qt as it gets set for you when gnuplot starts.

added 221 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958
Loading
added 326 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958
Loading
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958
Loading