Skip to main content
added 2 characters in body
Source Link
Rudy Potter
  • 2.6k
  • 8
  • 20

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

(Joins two 2-dimensional lists.)

or

ListPlot[
 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

(Adds 1-dimensional element to the front of a 2-dimensional list)

enter image description here

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

(Joins two 2-dimensional lists.)

or

 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

(Adds 1-dimensional element to the front of a 2-dimensional list)

enter image description here

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

(Joins two 2-dimensional lists.)

or

ListPlot[
 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

(Adds 1-dimensional element to the front of a 2-dimensional list)

enter image description here

added 92 characters in body
Source Link
Rudy Potter
  • 2.6k
  • 8
  • 20

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

(Joins two 2-dimensional lists.)

or

 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

(Adds 1-dimensional element to the front of a 2-dimensional list)

enter image description here

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

or

 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

enter image description here

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

(Joins two 2-dimensional lists.)

or

 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

(Adds 1-dimensional element to the front of a 2-dimensional list)

enter image description here

Source Link
Rudy Potter
  • 2.6k
  • 8
  • 20

By having two sperate lists you are effectively creating two sperate plots so they are not connected and are different colors.
You can joint the new point to the original list in a few different ways:

ListPlot[Join[{{0, 1}}, Table[{a, a^2}, {a, 1, 4}]], {Joined -> True},
  PlotMarkers -> \[FilledUpTriangle]]

or

 Prepend[Table[{a, a^2}, {a, 1, 4}], {0, 1}], {Joined -> True}, 
 PlotMarkers -> \[FilledUpTriangle]]

enter image description here